Hi... I have a rather odd (I think) problem. I'm pretty sure that normally the working directry is the same as that containing the php file in question. I've just reinstalled Apache and PHP, and when working with files my working directoys (as returned by getcwd) seems to default to:
C:\Program Files\Apache Software Foundation\Apache2.2
I'm using PHP 5 and Apache 2.2. It seems really odd that the directory containing the php file isn't the working directory...
Any ideas?
Cheers,
Ben
C:\Program Files\Apache Software Foundation\Apache2.2
I'm using PHP 5 and Apache 2.2. It seems really odd that the directory containing the php file isn't the working directory...
Any ideas?
Cheers,
Ben