Re: Re: How to call image from mySql to php file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This one time, at band camp, "Haydar TUNA" <haydartuna@xxxxxxxxxx> 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."

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux