HI all,
I have created a script that allows a user to upload a picture. I have an
IIS server runing on my own pc but the actual site runs an Apache server.
The upload script worked perfectly on my IIS but refuses to work on the
Apache.
All I know is that the script stops working at move_uploaded_file()
function. The warnings echo'ed are:
Warning: move_uploaded_file(images/nieuws/TIDEEY%7E1.jpg): failed to open
stream: Permission denied in
/scout/users/yyy/public_html/cgi-bin/pictures/class.UploadPicture.php on
line 108
Warning: move_uploaded_file(): Unable to move '/tmp/phphEjKUh' to
'images/nieuws/TIDEEY%7E1.jpg' in
/scout/users/yyy/public_html/cgi-bin/pictures/class.UploadPicture.php on
line 108
I also echo the $_FILES['imageFile']['error'] which returns a 0 (no error at
all). I first do a is_uploaded_file() which returns no errors at all. The
nieuws dir has 766 rules applied.
Maybee someone can help me out?
Thanks
Stijn