Hi,
For some reason I can't make fopen work. It worked fine on my server, however upon putting the script on my clients server it started giving this error:
Warning: fopen(test.jpg) [function.fopen]: failed to open stream: Permission denied in <long path> on line 5
From this call:
$File = "test.jpg";
$Handle = fopen($File, 'wb');
According to phpinfo() the server is:
Windows NT B-SERVER-01 5.2 build 3790
PHP Version 4.4.7
And safe mode is off if it makes a difference.
I assume that its something to do with permissions but how do I go about fixing it. I don't really do a lot of php development only small things like this script