Forum Moderators: coopster
I have managed to get the script working on my development Server (Win XP Pro & IIS 5.0). However when I try the same script on the live server (Apache) I get the following Error
Warning: imagejpeg() [function.imagejpeg]: Unable to open '../somethingelse/images/40.jpg' for writing in /server/somthing/something/adminsomething/uploadimage.php on line 112
I think that this is something to do with folder permissions on the web server. I am however unsure how to Proceed from here.
If you have console access and you are running *nix then chmod will let you change permissions. When you have FTP access then use the apropriate function of your favorite FTP program.
BTW it might be a good idea to use the same webserver on both your testing and live server.
Andreas
If you have console access and you are running *nix then chmod will let you change permissions. When you have FTP access then use the apropriate function of your favorite FTP program.
andreasfriedrich
Thanks for the reply I have both levels of access. This may seem like a stupid question but how should I chmod. Should I chmod the file or the folder?, and what should I change it to?.
I agree that I should use the same server setup for developing, and I am looking into it.