Re: Windows - PHP.INI
| From: | John Nichel | Date: | Mon, 13 Jan 2003 16:34:10 +0000 |
| Subject: | Re: Windows - PHP.INI | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131444@lists.php.net to get a copy of this message | ||
.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