FRIHOST • FORUMS • SEARCH • FAQ • TOS • BLOGS • DIRECTORY
You are invited to Log in or Register a 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

reading from sql db
Adding Image in specific positions in the forum
Adding pics to an email..
Do You Support Wildcarded DNS ?
Visitor notebook for php

....
Strange "mysql_num_rows()" error (Solved)
SQL Disk usage?
css question
info

Can I install Coppermine in DirectAdmin?
What's the best SERVLET ENGINE
[Permanently Closed] Services for Free, including Your forum
My Sig=your link
Can΄t connect to my database with php-nuke
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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