Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53255 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3533 invoked from network); 12 Jun 2011 19:12:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jun 2011 19:12:20 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:56704] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2F/02-14457-29F05FD4 for ; Sun, 12 Jun 2011 15:12:19 -0400 Received: by yxk8 with SMTP id 8so1784857yxk.29 for ; Sun, 12 Jun 2011 12:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=HbLrSkltBwJDm5dZOfhFByoUos0nQga5lSb91TjExYw=; b=tCBO7cWg4O9IoWH67A6WKt2ozd+eI4TQ3Hy8ApdOo6Xb6QUNjaRg2VirxJEfycOw2p 2D4Ms9/UYiFibBlY1Ro94YRdRvNJkSQe7HlBd8zYfXnyxwawfB+pObEvGwRJkKiNzhVM 13qRbkqztj9PL08gdJe83M5aei6IU8/twWnJk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GvS+YzokUINDrvzNN5FjrWxv5ql7zVBmY/OgSm2AeyFyHdKRN6ns5Hs7qSvDEIh6Kk qG4+ps8Go/Bo/wmBz2Y1f038T94Q8YuRBVfg1CjSbpr9Ddf86EJeZZhT1KAWjjgeylok L7+2Sxg3fKw+erE7+FQyHbXsMxWSrXNS+GtQ8= MIME-Version: 1.0 Received: by 10.236.182.233 with SMTP id o69mr3401253yhm.30.1307905935468; Sun, 12 Jun 2011 12:12:15 -0700 (PDT) Received: by 10.147.34.4 with HTTP; Sun, 12 Jun 2011 12:12:15 -0700 (PDT) In-Reply-To: <5E.F0.14457.FA905FD4@pb1.pair.com> References: <5E.F0.14457.FA905FD4@pb1.pair.com> Date: Sun, 12 Jun 2011 21:12:15 +0200 Message-ID: To: techloop Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] execute my php code before every php call From: pierre.php@gmail.com (Pierre Joye) hi, It is not really a question for this list but more php-general. See http://www.php.net/manual/en/ini.core.php#ini.auto-prepend-file Cheers, On Sun, Jun 12, 2011 at 8:47 PM, techloop wrote: > 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 > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org