owl Posted June 12, 2009 Share Posted June 12, 2009 Hi Experts,I want to upload an image from HTTP client PC to the Server .once the file is uploaded into the temporary location on php server, i have tried to move it to a folder on the server using the "move_uploaded_file" function. but i get an error message "Unable to move 'C:\xampp\tmp\php1E4.tmp' to destination folder".Can you please suggest me if need to enable any setting in the php.ini file or a way to resolve the error.-Owl Link to comment Share on other sites More sharing options...
jlhaslip Posted June 12, 2009 Share Posted June 12, 2009 Check the permision settings for the receiving folder.Chmod the folder to 777 in order to allow the Server to write the file there. Link to comment Share on other sites More sharing options...
justsomeguy Posted June 12, 2009 Share Posted June 12, 2009 Also check the permissions for the destination folder where you're trying to move it to. It sounds like it gets saved to tmp but not moved. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.