|
Posted by Toby A Inkster on 01/03/08 10:05
Sig wrote:
> Toby A Inkster said:
>
>> Any image that can be seen using <img> can be seen by accessing the
>> image's URL directly.
>
> That's not always correct.
It is always correct.
> I have some images that are displayed with <img src="/pv/incer3.php
> ?z=blackler/1.jpg">, for example. The incer3 file checks a session
> variable, and may decide to show the image using readfile(). If you
> enter the src url directly, whether you see the image will depend
> on the session variables. There is no actual image url to enter.
There is an actual image URL. It is:
http://whatever-your-host-is.example/pv/incer3.php?z=blackler/1.jpg
If I enter that into my browser's address bar directly, it will display
the image.
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 3 days, 21:16.]
Sharing Music with Apple iTunes
http://tobyinkster.co.uk/blog/2007/11/28/itunes-sharing/
Navigation:
[Reply to this message]
|