File upload problem

Discussion in 'PHP' started by abhilashdas, Jan 19, 2008.

  1. #1
    HI,
    I have just attached a file upload script to my site. It works well with text files but the problem is that I cannot upload binary files like doc, jpg etc.
    Any idea :confused:
     
    abhilashdas, Jan 19, 2008 IP
  2. Denn

    Denn Peon

    Messages:
    76
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Does it give any errors?
     
    Denn, Jan 19, 2008 IP
  3. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #3
    Can you post your code?
     
    nico_swd, Jan 19, 2008 IP
  4. Denn

    Denn Peon

    Messages:
    76
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    nice_swd, hehe we need that too ;)
     
    Denn, Jan 19, 2008 IP
  5. abhilashdas

    abhilashdas Peon

    Messages:
    112
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    The problem is now solved. It was a simple mistake...MAX_FILE_SIZE was set to too low so that only files of small size(say txt) was able to be uploaded. Any way I have just changed it and every thing is working fine.:)
     
    abhilashdas, Jan 19, 2008 IP