Jump to content

need some image/file help


evanphphelp

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

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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.