Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Upload Script

  1. #1
    JB4
    JB4 is offline
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Upload Script

    I know there have been many topics about this, but none of them have worked for me. Probably because i don't know how to set them up, but I'm learning php and would like to learn how to do this.
    I basically want to make an upload site, that:
    • only allows specified extensions

    • allows up to 10 uploads

    • and once uploaded, tells them the url of their file(s).

    Thanks for all of your help!

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    Get started here:

    http://us3.php.net/manual/en/features.file-upload.php

    Which has general upload info as well as a section about uploading more than one file. It also mentions how to determine the mime type of the uploaded file (via the $_FILES array and the ['type'] index).

  • #3
    JB4
    JB4 is offline
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you, i'll start by using that. noticed your from utah, funny cause me too. o.0


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •