Hi, I'm a bit new in PHP. I have Apache running on a Win98 PC with scripts run from http://localhost. Installation and everthing was a breeze using foxserv. I recommend this (http://sourceforge.net/projects/foxserv/)
I'm just learning about using files in my scripts. I keep getting an error message
Warning: fopen("file.txt","r") - No such file or directory in c:\foxserv\www\script.php on line x
and I know very well that c:\foxserv\www\file.txt exists.
I tried using the absolute path with both forward and backward slashes, as well as using "http://localhost/file.txt" and none of these methods work. The manual is very flaky about using files in windows except they emphasize that Unix handles files better. Sheesh!
Anybody ever had this problem and solved it? Thanks.