i've written a php script that generates images dynamically, via the
GD library. i now want to detect whether or not the image is embedded
within a homepage, or is being viewed by itself. at first, i thought
that whether or not HTTP_SERVER_VAR S['REFERER'] was set, that it would
mean that the image was embedded, but that's not necessarily the case,
as it will also be set if it's just linked to from the webpage. so,
any ideas?
GD library. i now want to detect whether or not the image is embedded
within a homepage, or is being viewed by itself. at first, i thought
that whether or not HTTP_SERVER_VAR S['REFERER'] was set, that it would
mean that the image was embedded, but that's not necessarily the case,
as it will also be set if it's just linked to from the webpage. so,
any ideas?
Comment