Top VPS Hosting Provider

Welcome to the myhosting.com Forums.
+ Reply to Thread
Results 1 to 3 of 3

Thread: PHP Upload

  1. #1
    loopsnhoops is offline Junior Member
    Join Date
    Jan 2012
    Posts
    1

    Default PHP Upload

    Hi,

    I plan to make a site that people save files on and then the files are displayed to the public to download. I am new with this hosting website and have not figured out how and where to save the uploaded files to. Also, should I incorporate a MYSQL database in my website to store the files?

    Thanks, Eric

  2. #2
    suwunk is offline Super Moderator
    Join Date
    Aug 2010
    Posts
    1,096

    Default

    This free PHP File Manager should help you.
    File Thingie is a small web-based file manager written in PHP. It is intended for those who need to give others access to a part of their server's file system when FTP is not practical. Through File Thingie you and your users get access to the most common functions:
    File Thingie • PHP File Manager

  3. #3
    sgoodman is offline Master Member
    Join Date
    Jul 2008
    Location
    Alberta, Canada
    Posts
    397

    Lightbulb PHP Upload

    It's not a good idea to store files in a database. While it is technically possible if you serialize the data, this is very inefficient.

    It is better to store the files in a folder. The folder should be outside of your root directory. It will need special permissions, depending on if you're using Windows or Linux.

    Shane.
    Basic Linux Hosting on classic platform; Parallels Plesk Panel 10.3.1


 

Similar Threads

  1. How do you increase PHP Memory Limit?
    By suburbancook in forum Troubleshooting
    Replies: 4
    Last Post: 2011-12-21, 04:16 PM
  2. Replies: 3
    Last Post: 2011-10-16, 09:58 PM

Posting Permissions

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