Re: Auto_prepend_file

From: Date: Fri, 01 Mar 2002 01:12:47 +0000
Subject: Re: Auto_prepend_file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-86699@lists.php.net to get a copy of this message
Actually I did give the absolute path.. Any more ideas? Rick "If you're going to be able to look back on something and laugh about it, you might as well laugh about it now." - Marie Osmond > From: "Timothy J. Luoma" <luomat@peak.org> > Date: Thu, 28 Feb 2002 20:06:39 -0500 (Eastern Standard Time) > To: Richard Baskett <php@baskettcase.com> > Cc: PHP General <php-general@lists.php.net> > Subject: Re: Auto_prepend_file > > 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 (#86699) next »