FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Adding Images to an SQL DB





kam311
What's the best way to allow users to upload images to an SQL database on a server? I was thinking upload the pic, and then store the path name in a field on the table? Or is there an easier way? Thanks in advance.
vinx_18
You could do this by using files...and yes...you could enter the path in the database..
OR the easy way, by using BLOB...could store megabytes files..pics,videos..etc. in the database...click here for an example...http://www.php-mysql-tutorial.com/php-mysql-upload.php
Related topics
Do You Support Wildcarded DNS ?
Visitor notebook for php
....
Strange "mysql_num_rows()" error (Solved)
css question
SQL Disk usage?
info
Can I install Coppermine in DirectAdmin?
reading from sql db
[Permanently Closed] Services for Free, including Your forum
What's the best SERVLET ENGINE
Adding Image in specific positions in the forum
Adding pics to an email..
errors on site.. One post alot of errors to come :)
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.