Php > Databases
Here is a quick n dirty image uploader to a mysql db
Here is a quick n dirty image uploader to a mysql db Table structure: CREATE TABLE binary_data ( id INT(4) NOT NULL AUTO_INCREMENT PRIMARY KEY, description CHAR(50), bin_data LONGBLOB, filename CHAR(50), filesize CHAR(50), filetype CHAR(50) );
Store binary data into SQL Database
This file has the following Database ID:
$id
"; //show the form again to load the next image show_form(); } function show_form() { // else show the form to submit new data: ?>
File Description:
File to upload/store in database:
Php Codes
Algorithms
Arrays
Authentication
Calendar
Code Snippets
Programs
Content Manage
Contest Related
Cookies
Credit Cards
DBase Related
Databases
Date Time
Directories
E-Mail
Errors
File
File System
Forms
Handling
Graphics
HTML and PHP
Informix
Ingres
InterBase
LDAP
Look and Feel
Miscellaneous
MySQL
Other
PHP Classes
Searching
Navigation
Statistics
Strings
User Manage