WEB php noob needs halp. upload to 2 directories

Discussion in 'OT Technology' started by drpepper, Jul 3, 2008.

  1. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
    what im trying to do is this,
    have 2 input fields for file selection, and letting the user choose 2 files.
    i need one input field to only allow 1 type of extension, and the other input field to allow 1 different type of extension also.

    i need these 2 inputs to go to seperate directories. ive been searching the web for the past 2 days, and ive found some that i might be able to work with, but then break.
     
  2. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,924
    Likes Received:
    11
    Location:
    Los Angeles
    Why not have one input field, upload the file, check the extension, then move the file to a specified directory depending on the extension?
     
  3. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
    hell that would be even better.
     
  4. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
    any ideas on an existing script? or how much would you charge a fellow oter and a supporter of amphibious creatures?
     
  5. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,924
    Likes Received:
    11
    Location:
    Los Angeles
    I'll do it for you for free, sister. :love:
     
  6. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
    :eek5:


    :hug:
     
  7. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,924
    Likes Received:
    11
    Location:
    Los Angeles
    Hit me up on aim 'kingtoad'. I'll be on tonight around 6pst.
     
  8. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
    will do cutie :)
     
  9. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
    thanks toad. you are the wind beneath my wings. and will have your horribly deformed children.
     
  10. pkr

    pkr Guest

  11. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,924
    Likes Received:
    11
    Location:
    Los Angeles
    [​IMG]
     
  12. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
    :bowrofl::bowrofl::bowrofl:
     
  13. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
    stop hating faggot
     
  14. pkr

    pkr Guest

    Fuck off eli.
     

Share This Page