Bill Cosby is my Father
Posts: 4
32 credits Members referred : 0
« on: Feb 03, 2007, 07:18:40 AM »
Hi, I'm looking for some script that let me hide the path where I get the image that I show. The idea is that the person can see and save the image, but that he can't do it from other way than the web page that I decide, so avoiding that the user download the images directly with something like Getright, etc. I want something similar to the way that cdcovers.cc works with their covers, you can see them, you can save them, but just from their web page.
Thanks
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6486
39748 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Feb 03, 2007, 10:02:46 AM »
first you need to protect your directory with htaccess, then you need to open your file with file functions and present the image data through the php script. check this snippet: http://www.finalwebsites.com/snippets.php?id=4
But don't do that with a lot of images with very much visitors (server load)