ckrudelux Posted September 8, 2009 Share Posted September 8, 2009 I have problem with some JPG files which won't upload. Common is that JPG files from digital cameras won't be uploaded. Yes I have restriction but I get pass it so the problem is something else. Link to comment Share on other sites More sharing options...
justsomeguy Posted September 8, 2009 Share Posted September 8, 2009 Are you checking for upload errors? Is the file too large? Link to comment Share on other sites More sharing options...
ckrudelux Posted September 8, 2009 Author Share Posted September 8, 2009 Are you checking for upload errors? Is the file too large?Okay so I got the error message 1 and search google and came upp with that the file is bigger then my PHP installation allows so how do I change that in my php code? Link to comment Share on other sites More sharing options...
justsomeguy Posted September 8, 2009 Share Posted September 8, 2009 It won't have any affect changing that in PHP code, you need to change php.ini or modify the option in htaccess if available.By the way, the errors are listed here:http://www.php.net/manual/en/features.file-upload.errors.php Link to comment Share on other sites More sharing options...
ckrudelux Posted September 8, 2009 Author Share Posted September 8, 2009 It won't have any affect changing that in PHP code, you need to change php.ini or modify the option in htaccess if available.By the way, the errors are listed here:http://www.php.net/manual/en/features.file-upload.errors.php Okay thanks I would need to do it by the htaccess in that case.BTW: Can I use the temp file for the image and scale it and after that move it to the server and how do I say where temp file is to my resize script? Link to comment Share on other sites More sharing options...
justsomeguy Posted September 8, 2009 Share Posted September 8, 2009 Check the PHP manual on file uploads, the $_FILES array includes an entry for the temp filename. Link to comment Share on other sites More sharing options...
ckrudelux Posted September 8, 2009 Author Share Posted September 8, 2009 Check the PHP manual on file uploads, the $_FILES array includes an entry for the temp filename.Thanks yet again Link to comment Share on other sites More sharing options...
ckrudelux Posted September 8, 2009 Author Share Posted September 8, 2009 Thanks yet again Hm seems like I can't change the temp file don't really know why I only get the original file back. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.