Jump to content

iis6 & php 4.3.4 - uploaded files truncated to 50Kb


whitekolovrat

Recommended Posts

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...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.