Re: Newbee question?

From: Date: Sat, 15 Jul 2000 18:54:56 +0000
Subject: Re: Newbee question?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-6763@lists.php.net to get a copy of this message
What if it's on a host and you don't have access to those files? Ed "Rasmus Lerdorf" <rasmus@php.net> wrote in message news:Pine.LNX.4.21.0007151127250.9332-100000@thinkpad.php.net... > > 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@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#6763) next »