.htaccess isn't a Linux only thing...it's an Apache thing. Just put a file named .htaccess in the document root of the site you want to prepend the file too. Inside the file, put this....

php_value auto_prepend_file "/path/to/included/file.php"

Naqashzade, Sadeq wrote:
Hi,
I'm using Win2K Prof. and installed Apache 1.3.2 as my web server plus PHP
4.0.6 as module.
I have several sie on my computer. for one of them I need to include certain
file before any thing. I know that there is auto_prepend_file in php.ini but
this will run for all of my sites :-(
Is there any way?
I know that in Linux I must be able to use .httaccess but do not know how?
and in Windows I do not know at all.

Any one can help me?

Tnx
Sadeq




--
By-Tor.com
It's all about the Rush
http://www.by-tor.com


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

Reply via email to