Apple iPad 32gb Wi-Fi 3G
Sony Ericsson T715 Slider 3G Phone in Rouge Pink
Apple iPod nano 8 GB Gumus
Apple iPad 16gb Wi-Fi 3G
:: HOME PHP How To Hide Image Source
How To Hide Image Source

If you want to hide your images source from visiters, you can do such thing:

showimage.PHP file

    Header("Content-type: image/jpeg");
    $exp=GMDate("D, d M Y H:i:s",time()+999);
    Header("Expires: $exp GMT");
    $file=$image_path . $_GET["img"]; // getting image name and your image path
    if (file_exists($file)){
    if ($info[2]==1){
    } else if ($info[2]==2){
    } else if ($info[2]==3){
    } else {
        $file = 'noimage.png'; // if there is not such image, it will show default image

Dont forget that, you need to have GD supported server to be able to use this PHP feature. For it, talk to your server tech.

$image_path variable should contain your image path and you will send your image name which you want to show.

in HTML file

<img src="showimage.PHP?img=tst.jpg">

as you see we use img HTML tag and at source code, we call our PHP file with image name we want to show.