Re: Apache Default File Include

From: Date: Thu, 04 Apr 2002 22:23:02 +0000
Subject: Re: Apache Default File Include
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91626@lists.php.net to get a copy of this message
Thanks... That is exactly what I was looking for. Dan > > go to the PHP online documentation and look in the configuration section. > > auto_append_file string > Specifies the name of a file that is automatically parsed after the main > file. The file is included as if it was called with the include() function, > so include_path is used. > > The special value none disables auto-appending. > > Note: If the script is terminated with exit(), auto-append will not occur. > > auto_prepend_file string > Specifies the name of a file that is automatically parsed before the main > file. The file is included as if it was called with the include() function, > so include_path is used. > > The special value none disables auto-prepending. > ----- Original Message ----- > From: "Dan Tappin" <dan1234@wavefront.ca> > To: "PHP" <php-general@lists.php.net> > Sent: Thursday, April 04, 2002 3:05 PM > Subject: [PHP] Apache Default File Include > >> > I had seen some where the procedure to add a default file to include in > all >> > pages served in a virtual domain under Apache. >> > >> > Can anyone point me to a FAQ on this of some keywords that I should search >> > the Apache site for. >> > >> > I want to have a PHP file with all my generic functions loaded on every > page >> > with out need to remember to add the include. >> > >> > Thanks, >> > >> > Dan >> > >> > P.S. Please CC me as I am on digest

« previous php.general (#91626) next »