News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DeveloperTutorials.com:
Upload Files to MySQL using PHP Tutorial
November 23, 2007 @ 08:26:00

From Developer Tutorials, there's a new tutorial posted about creating a file upload script combining PHP and MySQL.

I much prefer to upload files to mysql instead of saving them directly to the file system. I can run database backups/mirrors that are much easier to manage then if files were placed on the file system. Here are the simple scripts I use to upload files and a script to stream the file back to the browser.

The tutorial is mostly just the code for the simple application - the MySQL table structure, the PHP code to handle the file (including the insert into the MySQL database) and the code to download the same files.

0 comments voice your opinion now!
upload file script tutorial example mysql upload file script tutorial example mysql


blog comments powered by Disqus

Similar Posts

Richard Heyes' Blog: Reading a specific line in a file

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 7)

Justin Carmony's Blog: MySQL, Redis, and a Billion Rows - A Love Story

PHPBuilder.com: Create a Unit Conversion Application w/the Zend_Measure Component

Rob Young's Blog: Non-blocking I/O With PHP-MIO


Community Events





Don't see your event here?
Let us know!


introduction series install release community composer extension voicesoftheelephpant conference laravel api interview symfony unittest podcast version language opinion list configure

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework