upload files without using enctype="multipart/form-data"

Discussion in 'PHP' started by kumar84, Aug 17, 2007.

  1. #1
    hai friends

    I need to upload files in my application, So i Need php coding without using enctype="multipart/form-data" because in my application it does not supporting enctype="multipart/form-data"

    Hence anybody knows the code for how to upload files in php5 or without using enctype="multipart/form-data"


    Thanks in advance
     
    kumar84, Aug 17, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    I don't think that's possible. But can you explain why your application doesn't support that? :confused:
     
    nico_swd, Aug 17, 2007 IP
  3. HuggyCT2

    HuggyCT2 Guest

    Messages:
    222
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ^^^like he said, why would you not be able to use that? Its html client side unless your users have not got a browser it will work.
     
    HuggyCT2, Aug 18, 2007 IP
  4. sabmalik

    sabmalik Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Its not possible without it , as the HTTP protocol requires that multipart be defined as content type when uploading files , so PHP cant help you. Also what application does not support it ? i mean really your app doesnt have anything to do with it. unless you want to upload to a site whose form you dont control , i dont see the problem!
     
    sabmalik, Aug 18, 2007 IP