Re: server run page
| From: | Richard Lynch | Date: | Sun, 12 Aug 2001 21:59:20 +0000 |
| Subject: | Re: server run page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62351@lists.php.net to get a copy of this message | ||
> i developp under asp or cold fusion.
> with this language, when you request a page, the server runs automatiquely
a
> page: global.asa with asp and application.cfm with cold fusion.
>
> can i do the same thing under php ?
You can use auto_prepend in your php.ini file to call any file you like
before every page hit to PHP. Never found a real need for it myself, as
invariably the stuff you put in there ends up not being needed for *EVERY*
page, and PHP's http://php.net/include works much better.
But it's there if you want it.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm