Kevin Waterson wrote:
> This one time, at band camp, "Haydar TUNA" <[EMAIL PROTECTED]> 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

While I appreciate this concept and indeed use it myself, it should be
noted that the OP was *not* talking about storing the images in the DB
itself. He was talking about storing a filename which he then used in
his html.

Col

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to