Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

Re: [PHP] Newbee question? From: Rasmus Lerdorf (rasmus <email protected>)
Date: 07/15/00

> Is there a function in PHP that always executes first before loading
> anything else in a directory. In Cold Fusion it's called an application.cfm
> and ASP has a global.asp. You put the file inside a directory and any time a
> file is requested from that directory the script in the global or
> application file is executed first. It is how most login scripts are set up.
> I suspect PHP has something along this line but what is it called? I've
> looked in my book but w/o having some idea of what it is called in PHP I'm
> not having much luck finding it.

You define it yourself using the auto_prepend_file directive in your
php.ini file, or you can define it in your httpd.conf.

-Rasmus

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>