How to hide the physical path of the images
问题 In my application i display the image of user by giving the physical path of the directories like http://www.example.com/user_images/abcdefghijk.jpg But i dont want to expose this physical path to the external users to access the direct files. I want to implement the image retrieval as per the gravtar type image display. How we can do that? 回答1: In PHP you can use GD library to read the image. So the only way you need to create a image.php file & use the following code, <?php $imagepath="your