1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Simple PHP Uploader

Discussion in 'HTML, Graphics & Programming' started by Otacon, 14 Jan 2006.

  1. Otacon

    Capodecina

    Joined: 10 Jan 2004

    Posts: 21,923

    Location: All over

    A few clients I work for have very restrictive Firewall setups, and often immediate access to ftp upload isnt available too me. I'm after a simple php uploader script that I will drop into a protected are of my webspace for me to quickly up images and things without hassle.

    Only requirement is that I can specify a small number of different directories as the target for an upload. Any suggestions?
     
  2. Augmented

    Soldato

    Joined: 18 Oct 2002

    Posts: 5,464

    Location: London Town

    CeleronDude's uploaders are pretty popular. The more lightweight v5 certainly does what you want, and I'm sure v6 does too: http://celerondude.com/page_php
     
  3. Conrad11

    Soldato

    Joined: 12 Jun 2005

    Posts: 5,362

    [edit]

    What Augmented (I hope i spelt the name right) suggested looks good


    [original]


    Hi there,

    Definatly not the guy for the job, as from what the php'ers would say if they werent so nice :p

    But...just for the benefit of others...

    Would you need any validation/verification? eg..filesize, height, width.....

    Would you need a gallery sort of thing to view the images? - If so does your host support databases.

    Would you know all the names of the files uploaded and make sure you cahnged the name so its not the same as others......or....would you like an alternative where is automatically generates a name?

    Thanks...
     
    Last edited: 14 Jan 2006
  4. Otacon

    Capodecina

    Joined: 10 Jan 2004

    Posts: 21,923

    Location: All over

    Hi Conrad,

    I really dont need anything special, it's going to be used exclusively by me as a convieniece when I dont have direct ftp access - nothing more. v5 of that uploader does exactly what I need it to, and the auto vB code generating will come in handy.

    Thanks Augmented
     
  5. Beansprout

    Man of Honour

    Joined: 31 Jan 2004

    Posts: 16,316

    Location: Plymouth

    Gogo Celeron dude uploader :cool:

    That reminds me, I should update my uploader. Or finish my own...
     
  6. Conrad11

    Soldato

    Joined: 12 Jun 2005

    Posts: 5,362

    Hi,

    I have had a look around that uploader and it looks pretty good (not that my opinion is really worth taking into account :p)

    If you don't like it for any reason, I am sure I could (attempt :p) to put you one together from a custom specification.

    :)

    Thanks...
     
  7. robmiller

    Capodecina

    Joined: 26 Dec 2003

    Posts: 16,522

    Location: London

    Thirding Celeron Dude's uploader, it's really nice. Lots of features that I don't need, but the ones I do are all there :)
     
  8. robjf

    Mobster

    Joined: 31 Oct 2003

    Posts: 4,564

    Location: Derby, UK

    Even ive made my own, and you know how primative my php skills are!
     
  9. robmiller

    Capodecina

    Joined: 26 Dec 2003

    Posts: 16,522

    Location: London

    Why reinvent the wheel :confused:
     
  10. robjf

    Mobster

    Joined: 31 Oct 2003

    Posts: 4,564

    Location: Derby, UK

    Or in my case, try to reinvent a square wheel.

    And yes, celeron dudes uploader is a fine bit of programming.