Hide the real URL

From: Date: Thu, 26 Jul 2007 13:18:25 +0000
Subject: Hide the real URL
Groups: php.general 
Request: Send a blank email to php-general+get-259565@lists.php.net to get a copy of this message
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.

« previous php.general (#259565) next »