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.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to