![]() |
|
|
+ Search |
![]()
|
Feb 22nd, 2008 03:18
dman, Henrik Hansen, Norton Seron, http://www.ttnr.org
Yes it is possible, a little example below:
$file = "picture.gif";
//if you are on windows use rb
$fp = fopen($file, "r");
$content = fread($fp, filesize($file));
header("Content-type: image/gif");
echo $content;
read more at:
http://www.php.net/manual/en/function.fread.php