I don't remember exactly the code on how to do it, but you have have the
images placed in a folder outside the server's public document tree (like
you would do with includes) ... that way, I couldn't link directly to your
pic.

As for stopping someone from right clicking on the image and doing a "save
as," I'm not sure if its possible, although I would love to hear if someone
has come up with a way.

--Mark.

-----Original Message-----
From: rodrigo [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 5:37 PM
To: php php
Subject: [PHP] How to prevent people from downloading images


This is probably more of a client side programming issue rather than
something that has to do with PHP. But I figure that some of you might
have something meaningful to comment.

I need a way to prevent the download of some images in a web page. I
also require that these images be presented within the web page. That
is, I don' want them to be displayed in another window. They should
remain embedded in the web page along with the rest of the page
elements.

Thanks in advance.
--
************************************
Ivan R. Quintero E.* (507)228-3477
Aptdo 1263         * (507)228-9105
Balboa, Ancon      * 612-1103
Republic of Panama *
************************************

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to