whitekolovrat Posted January 30, 2007 Share Posted January 30, 2007 hello, i have a prob with all uploaded files (posted to a php script), being truncated to 49008-49009 bytes... no errors or anything, var_dump($_FILES); gives this [code]array(1) { ["uplPhoto"]=> array(5) { ["name"]=> string(8) "cat2.jpg" ["type"]=> string(10) "image/jpeg" ["tmp_name"]=> string(27) "C:\WINDOWS\TEMP\php50B4.tmp" ["error"]=> int(0) ["size"]=> int(49009) }}[/code]uploads to an asp script has no problems, php.ini configured properly, larger files upload longer, so its not a connection issue, hoster blames my code... any idea what is really wrong? any known bugs of php on iis? or maybe it has nothing to do with php? what can make a web server truncate an uploaded file when saving it to a temp dir? php processes files larger than 50kb fine, so it doesn't looks like a memory_limit issue... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.