www.KNIGGA.com - downloads - dbphotostore.php
| [ home ] | [ download my stuff ] | [ links ] | [ make me a banner ] | [ my calendar ] | [ my rants ] |
| [ about me ] | [ webcam ] | [ contact me ] | [ my resume ] | [ my pictures ] | [ my stuff ] |
|
dbphotostore.php this php script allows a user to select an image from his local hard drive and upload that image to be stored in a mysql database. the script assumes that there is a file db.php which defines three variables: $dbserver, $dbuser, and $dbpass. in these variables there should be the hostname of the mysql server, the mysql username, and the password, respectively. it also assumes that you have a db called "knigga_news" (you should probably change that) that has a table called "pictures" which contains four fields: id (auto incrementing int), picture (blob), mimetype (text), and filesize (int). Download: dbphotostore.php |
|
everything on this site, including design, content and graphics, is property of someone. please do not use anything without permission.
this site is best viewed in at least 256 colors. also, anything less than 1024x768 resolution makes the site look crappy. © 2003 - 2010 kristoffer knigga | view this page's source! |