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" <[EMAIL PROTECTED]> > Date: Thu, 28 Feb 2002 20:06:39 -0500 (Eastern Standard Time) > To: Richard Baskett <[EMAIL PROTECTED]> > Cc: PHP General <[EMAIL PROTECTED]> > 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 > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php