Re: Auto_prepend_file

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Auto_prepend_file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-86698@lists.php.net to get a copy of this message
On Thu, 28 Feb 2002, Richard Baskett wrote: > What I want to do is have a function available to all my php files without > having to use an include in every page. So what I did was put this line in > my .htaccess file: > > php auto_prepend_file "pathtoscript/uniemail.php" On my system I had to give the absolute full path (not just document root but /usr/local/lib/apache/htdocs/pathtoscript/uniemail.php) You might try that. TjL

« previous php.general (#86698) next »