24/7 U.S. Support – 877-595-4482
2011-11-07 1:41 pm
Excellent question about uploading files with PHP. While I'm happy to point you in the right direction for finding instructions on how to upload files to a database, I wanted to caution you regarding that practice first.
If you upload the actual files (not just file information) to the database, it may cause problems in the future for the server when you are trying to actually read those files from the database as that can be a very taxing process for the server. The best practice is to extract information about the file and store that information in the database while keeping the actual file stored in your account.
Here are links to the recommended method of uploading the file to the server and storing information about the file in a database:
If you decide to store the actual files in the database (not recommended) here are the links to instructions for that:
Please let us know if you have any questions or need any additional assistance.
|Email:||support@WebHostingHub.com||Ticket:||Submit a Support Ticket|
|Chat:||Click To Chat Now|