Jump to content


This topic is now archived and is closed to further replies.


need some image/file help

Recommended Posts

ok, i coded a gallery for myself and friends to post our artwork.
i'm not new to php, so everything works fine, and i'm almost happy with it... the only problem is that i want to stop the possiblity of somebody saving our images.

now, i know this is almost impossible, there's always a way, but to help with this i made a file called

img.php is what shows the pictures.

i'm looking for a way to find out through php if img.php is being shown as an image in a page, or if it's being accessed by itself by the user by going to the page address.

is there anyway to do this?

Share this post

Link to post
Share on other sites
They will always be able to save the images because you send the image to them and that is how it's displayed in their browser.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.