Re: Re: How to call image from mySql to php file
| From: | Kevin Waterson | Date: | Thu, 22 Feb 2007 05:45:43 +0000 |
| Subject: | Re: Re: How to call image from mySql to php file | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249210@lists.php.net to get a copy of this message | ||
This one time, at band camp, "Haydar TUNA" <haydartuna@meb.gov.tr> wrote:
> Hello,
> Firstly, your image table field should be BLOB field then you create
> a image file (for example image.php). in this file, if your application is
> more secure, you can control the session variables. You get key column of
> your BLOB table (for example id, studentnumber and so on) with session
> variables, GET variables or any way. I always get this column with SESSION
> variables because it is more secure. After this, for get variables you can
> call the image to your main application from image.php file with like the
> following HTML1 code. for session variables you can call the image to your
> main application from image.php file with like the following HTML2 code.
Here is a little how to about storing images in mysql
http://phpro.org/tutorials/Storing-Images-in-MySQL-with-PHP.html
Big K
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."