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...
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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