can't upload file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aratimane
    New Member
    • May 2007
    • 3

    can't upload file

    I'm using php5.2.2 and not able to upload file from mobile J2ME .
    same code is running in php4.3.11 but not in php5.2.2

    I'm uploading file by using $_FILES.

    while using print_r($_FILES )
    it display :
    name of file ,type of file but error=3 and size=0

    same script is successfully worked in php4.3.11 with apache2.0.59 but not in php5.2.2
    Is there any extra configuration for php5.2.2 with apache2.0.59?
    if yes, plz help me.
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Moving this thread to the PHP Forums.
    Please refrain from posting questions in the Article section!

    MODERATOR

    Comment

    • Atli
      Recognized Expert Expert
      • Nov 2006
      • 5062

      #3
      Error 3 means that the file was only partially uploaded.
      If the code did work on an older version of PHP, it is possible that you new version is limiting the size of the files you can upload.
      Try looking through the php.ini and see if the max upload size is smaller than the file you are trying to upload.

      Comment

      Working...