Easy Question 5$ Threw Paypal Best Answer

Discussion in 'Programming' started by HostHaus | Mitch, Jul 19, 2008.

  1. #1
    Hey all,

    I am a newb when it comes to this kind of stuff, I have searched around and now I am in a pickle.

    I am looking to design a quick and easy way in which I can simply allow anyone to upload a file onto my website. Similar to rapidshare without security measures, captcha, etc.

    Anyone know of any website of such script? or point me in the right direction?

    Best answer after 6 hrs gets $5 in paypal (bank based).
     
    HostHaus | Mitch, Jul 19, 2008 IP
  2. King Goilio

    King Goilio Member

    Messages:
    200
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    33
    #2
    King Goilio, Jul 19, 2008 IP
  3. HostHaus | Mitch

    HostHaus | Mitch Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Anyone else?
     
    HostHaus | Mitch, Jul 19, 2008 IP
  4. CodyRo

    CodyRo Peon

    Messages:
    365
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #4
    King_Goilio hit the nail on the head.. broaden your search from Hotscripts by doing a simple Google Search.

    Good luck :)!
     
    CodyRo, Jul 19, 2008 IP
  5. serialCoder

    serialCoder Guest

    Best Answers:
    0
    #5
    serialCoder, Jul 19, 2008 IP
  6. King Goilio

    King Goilio Member

    Messages:
    200
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    33
    #6
    Here is something else you might want to look into, I can help you set it up as well.
     
    King Goilio, Jul 20, 2008 IP
  7. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
  8. rob_v

    rob_v Peon

    Messages:
    72
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #8
    fancy uploader - its a JS front end and PHP backend.
    Looks nice and works good.
     
    rob_v, Jul 20, 2008 IP
  9. Cri2T

    Cri2T Peon

    Messages:
    104
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Good God man, I run an Image Hosting site with extension checks (though I need to update it so it actually works on files like "file.php.jpg") and the bastards still seem to upload their php files to my server, which then edit my htaccess file to redirect all Search Engine traffic to their little dummy blog thing... sucks; and from the sounds of it... you're just asking to be swarmed by them... or worse...

    just my two cents... If you really want to do this though, all you have to do is something like:

    Form:
    
    <form method="post" action="uploader.php" enctype="multipart/form-data">
    <input type="file" name="file" />
    <input type="submit" value="Upload" />
    </form>
    
    PHP:
    uploader.php
    
    $file = $_FILES['file'];
    if(move_uploaded_file($_FILES['file']['tmp_name'], "/path/to/".$file['name'])) {
    echo("<p><strong>Success.</strong><br />The file has been uploaded as /path/to/".$file['name']."</p>");
    }else{
    echo("<p><strong>Error.</strong><br />There was an error uploading your file. Please try again.</p>");
    }
    
    PHP:
    Now, this script has NO security or checks of ANY KIND. Hell, I'm not even sure if I should have posted it... because it's very very bad idea. If you do use this, please for the love of God make backups of everything on your server every night at the very least. Also, WHEN something happens, don't blame me.

    Better yet... just don't use it. Use a pre-made that has some kind of filtering implemented in it.
     
    Cri2T, Jul 20, 2008 IP