Snooble Posted December 5, 2008 Share Posted December 5, 2008 [error] => 1 Supposably means "The uploaded file exceeds the upload_max_filesize directive in php.ini." I've edited it in my php.ini! Running on WAMP. What else causes the error? Snoobs Link to comment https://forums.phpfreaks.com/topic/135682-solved-error-with-move_uploaded_file/ Share on other sites More sharing options...
gevans Posted December 5, 2008 Share Posted December 5, 2008 Have you restarted your server? php.ini won't take changes into account until this is done Link to comment https://forums.phpfreaks.com/topic/135682-solved-error-with-move_uploaded_file/#findComment-706912 Share on other sites More sharing options...
Snooble Posted December 5, 2008 Author Share Posted December 5, 2008 yup restarted all services.. any other suggestions? Link to comment https://forums.phpfreaks.com/topic/135682-solved-error-with-move_uploaded_file/#findComment-706915 Share on other sites More sharing options...
PFMaBiSmAd Posted December 5, 2008 Share Posted December 5, 2008 Is the php.ini that you are changing the one that php is using and post the line you changed because invalid syntax will cause the setting to be something other than what you think. Link to comment https://forums.phpfreaks.com/topic/135682-solved-error-with-move_uploaded_file/#findComment-706919 Share on other sites More sharing options...
gevans Posted December 5, 2008 Share Posted December 5, 2008 Post the code you're using, the filesize you're testing with, and you php.ini upload_max_filesize and post_max_size Also see PFMaBiSmAd's post Link to comment https://forums.phpfreaks.com/topic/135682-solved-error-with-move_uploaded_file/#findComment-706924 Share on other sites More sharing options...
Snooble Posted December 5, 2008 Author Share Posted December 5, 2008 Right, little bit of exploring, I edited the php.ini file that was in the WAMP directory.. After right clicking on the tray icon and going to config files, the one there wasn't edited... editing that stopped the error. Apologies for wasting time, hope it helps someone else! Thank you! Snoobs Link to comment https://forums.phpfreaks.com/topic/135682-solved-error-with-move_uploaded_file/#findComment-706928 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.