Re: upload an image and store it in mysql

From: Date: Sat, 17 Jul 2004 05:43:23 +0000
Subject: Re: upload an image and store it in mysql
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-190812@lists.php.net to get a copy of this message
* Thus wrote raditha dissanayake: > The approach that an overwhelming majority of PHP developers (and other > developers for that matter) use is to simply store the image on the > file system. If these images are part of a web application you can then > store a reference to the image in the database (ie: the filename only). > Then all you need to do is to query the database and use the result in > an <img src='...'> nothing could be simpler. height and width are handy as well. Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid!

« previous php.general (#190812) next »