[PHP] Re: server run page

2001-08-12 Thread Richard Lynch

> 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 [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: server run page

2001-08-12 Thread Inércia Sensorial

  I have seen this question before on a brazilian newsgroup I visit, and the
only solutions we came (without going away from a default php installation)
is to use the function include(); (and similars) or sessions.

  If anyone knows a different way, I would also be interested to know, to
inform my friends from the other news.

--


  Julio Nobrega.

2B||!BB - That's the question.

"Lolodev" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> i m beginner with php.
>
> 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 ?
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]