php-general | 2000071
Date: 07/15/00
- Next message: Flint Doungchak: "[PHP] MSSQL PHP4pl2 Truncates Dates"
- Previous message: Keith Vance: "[PHP] --enable-trans-sid and passing other variables in the url"
- In reply to: Ed Warvel: "[PHP] Newbee question?"
- Next in thread: Ed Warvel: "Re: [PHP] Newbee question?"
- Reply: Ed Warvel: "Re: [PHP] Newbee question?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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>
- Next message: Flint Doungchak: "[PHP] MSSQL PHP4pl2 Truncates Dates"
- Previous message: Keith Vance: "[PHP] --enable-trans-sid and passing other variables in the url"
- In reply to: Ed Warvel: "[PHP] Newbee question?"
- Next in thread: Ed Warvel: "Re: [PHP] Newbee question?"
- Reply: Ed Warvel: "Re: [PHP] Newbee question?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

