Hi
I don't think it is possible without javascript, and it does not always work
with javascript.
Anybody with any real knowledge can bypass it anyway simply by saving the
page and opening it in a text editor. So Javascript will stop casual right
clickers, and the others will do it anyway, if the
There is no way to do this in PHP. None. None at all. It simply
cannot be done. Right-clicking is handled by the browser client only,
along with things like the back button, etc. If you could have a
server-side scripting language make changes in how the browser works,
you'd be in some serious
I could wget these files and stick them in MySQL to organize ( had to make
this a legit post in php/db )... vi them and dd out the javascript lines.
There is no point in protecting html...
--
William Fong - [EMAIL PROTECTED]
Phone: 626.968.6424 x210 | Fax: 626.968.6877
Wireless #: 805.490.7
At a philosophical level, I don't think this should be done -- I don't want
people messing with my browser settings, because sure as shooting they will
not be restored when I leave the site.
What is so precious in the HTML that one can't view the source?
Miles
At 12:12 PM 2/14/2002 -0600, Ric
No way. PHP is server-side. Javascript is mostly clientside.
Best regards,
Andrey Hristov
- Original Message -
From: "jas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 14, 2002 8:17 AM
Subject: [PHP-DB] Disable Right click w/ php?
> I have been looking on php.ne
You can't do this using PHP, because PHP is server-side. You will need
JavaScript.
-Original Message-
From: jas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 12:18 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Disable Right click w/ php?
I have been looking on php.net for a