pokermagic Posted March 26, 2009 Share Posted March 26, 2009 I am allowing users to upload images to our website and am having a problem with my code and i'm not sure what the error could and wanted some suggestions. My code is below but the error is that it tells me "There was an error uploading the file, please try again!", however when i test what the error is <?php echo $_FILES['filefieldname']['error'] ?> the result is 0, Value: 0; There is no error, the file uploaded with success... but the image never is uploaded. Could this be a permissions problem. It works perfectly on my local test machine, but not on my server. I'm not a PHP person but more JSP so any help is appreciated. attached is my file as well. Thanks in advance. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/151175-move_uploaded_file-no-error-problem/ Share on other sites More sharing options...
bluejay002 Posted March 26, 2009 Share Posted March 26, 2009 If it is working in your machine then most probably the problem is with the deployment server you had. It must have not allowed file upload to the folder specified. Try asking the administrator of that server for assistance. Link to comment https://forums.phpfreaks.com/topic/151175-move_uploaded_file-no-error-problem/#findComment-794144 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.