Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53254 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98478 invoked from network); 12 Jun 2011 19:01:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jun 2011 19:01:06 -0000 Received: from [127.0.0.1] ([127.0.0.1:2186]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 56/01-14457-1FC05FD4 for ; Sun, 12 Jun 2011 15:01:05 -0400 X-Host-Fingerprint: 79.179.124.58 bzq-79-179-124-58.red.bezeqint.net Received: from [79.179.124.58] ([79.179.124.58:4929] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5E/F0-14457-FA905FD4 for ; Sun, 12 Jun 2011 14:47:11 -0400 Message-ID: <5E.F0.14457.FA905FD4@pb1.pair.com> To: internals@lists.php.net Date: Sun, 12 Jun 2011 21:47:11 +0300 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-Antivirus: avast! (VPS 110612-1, 12/06/2011), Outbound message X-Antivirus-Status: Clean X-Posted-By: 79.179.124.58 Subject: execute my php code before every php call From: techloop.il@gmail.com ("techloop") Hi all, I have a simple code that override some env vars but i need it to run before any other php code on every php execution. I would like to avoid any change of all php code (even if its only to include the include command). Any one knows of such way ? I dont mind overriding this vars on php configuration file but i dont have any control of it as its should work on even the most strict web hosting (that still allow env vars manipulation) Any alternatives ? Thanks, TL