Hide the real URL

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

 



Hi all,

I want to hide the real URL to my images by masking it with PHP
the code looks like this:

$query = "SELECT * FROM table";
$result=mysql_query($query);

while ($row = mysql_fetch_array($result))
{
echo "<img src='http://www.mysite.com/img/{$FileName}'/>";
}

if you look at the source in browser you will see:

<img src='http://www.mysite.com/img/111.jpg' />

how can I show it like this:

<img src='show.php?FileName=111.jpg' />


       
---------------------------------
Luggage? GPS? Comic books? 
Check out fitting  gifts for grads at Yahoo! Search.

[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