Results 1 to 9 of 9

Thread: What is the code to have a "uplaod file" page?

  1. #1
    Join Date
    Dec 2006
    Location
    Conshohocken, PA
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default What is the code to have a "uplaod file" page?

    Exemple:http://www.topcreatives.com/index.cf...n&challenge=16

    Is a page for a contest online where users would upload jpegs images.

    And where do the image go to?

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    somewhere on their server... why?

  3. #3
    Join Date
    Dec 2006
    Location
    Conshohocken, PA
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I want to create a page like that,

    and i am looking for a code that i can use
    so my users could send me jpeg images to participate in a by-monthly competition.

  4. #4
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    you need some type of server-side language (PHP / ASP)
    and some type of Database (MySQL / Oracle)

    take a look at some of the other threads on this topic
    http://www.dynamicdrive.com/forums/s...archid=1967928

  5. #5
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Default

    I get a dead link when I click on that one boogyman. I don't use MySQL/ORACLE for my upload program. That's not to say that it wouldn't be more useful to have one, I just have never found the need for a database when uploading images or files.

    I am sure there are other better threads, but try this one for starters: http://www.dynamicdrive.com/forums/s...ad.php?t=23741

  6. #6
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Here are a couple of links that you can also look at:

    http://www.php-mysql-tutorial.com/php-mysql-upload.php
    http://www.tizag.com/phpT/fileupload.php


    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  7. #7
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    Quote Originally Posted by james438 View Post
    I get a dead link when I click on that one boogyman.
    its a dead link because it was a search that i performed here on DD. there have been many threads on php upload's and I was attempting to link you to the list so you could find the one that best suits your needs.

    I don't use MySQL/ORACLE for my upload program. That's not to say that it wouldn't be more useful to have one, I just have never found the need for a database when uploading images or files.
    well if someone is going to upload images / files the chances are he/she is going to want to reference what was uploaded, thus you would need some way of tracking the files, and if you used a database. however this would also include type of user-login system as well, or you could do something like yousendit.com which will allow uploads and give you / the person you choose to email the file to will get a link and after 7 days the file is deleted off the server.

  8. #8
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Default

    Not that it helps that much, but I upload the files to my file system/server and view them with http://www.dynamicdrive.com/dynamici...photoalbum.htm. It can view things in chronological order too. Of course this is not ideal in that what if the user were to upload content that is questionable at best?

    What I have heard, however is that it is best to upload images to the file system and put the urls to those images in the database because storing actual images in a database is often taxing on the database and slows it down for other users. I don't think storing images is what a database was meant for.

    http://lists.apple.com/archives/web-.../msg00084.html
    http://www.hockinson.com/index.php?s=37

    EDIT: I was looking the issue of whether it was better to store images in the file system or in the database as blobs, in google groups and dev.mysql.com and it seems that this issue has been debated ad nauseum.
    Last edited by james438; 09-20-2007 at 02:58 AM.

  9. #9
    Join Date
    Sep 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    We created DesignFTP to solve this exact problem most designers and developers have. We ran across this with our clients getting us large files. Check it out I think it is exactly what you want without having to do all the work.

Bookmarks

Posting Permissions

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