Phil Driscoll wrote:
There's your problem.Yes, Phil has it. I'd assumed this, I should not have. The directory is given by the "DocumentRoot" line in httpd.conf. You did not say exectly what error you were getting, I'd assumed that you were just seeing the source of your file and that the only problem was php not parsing it. Presumably you were getting "Document not found" errors?
Assuming you haven't messed about too much with the apache config, your php file needs to live inside apache's htdocs directory. Can't remember exactly where that would be on a windows box - something like c:/program files/apache group/apache/htdocs maybe.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php