Reply to Re: How to disable right click and ctrl+c use in a web page

Your name:

Reply:


Posted by no on 12/20/06 15:37

On 20 Dec 2006 06:55:02 -0800, "Amar" <ghungur.2006@gmail.com> wrote:
>I am a newbie to PHP and have the task to create a page using PHP where
>in that page I need to disable all key operation as well as mouse
>operation even also the menu operation that means printscreen. I have
>only the java script code for mouse right click disable but that does
>not allow me to disable to do ctrl+c. So I need some help that can
>solve my task. Waiting for your replies.

Hi Amar

Firstly, PHP is a server-side language and so has no control of the
client's browser, beyong the HTML and Javascript you send to it.

If you need total control of the user's environment I would suggest
you look at creating a Flash or Java applet and put whatever contents
you need inside that but it won't stop any viewer copying the screen.
You see many sites that disable the right-click or copy facility but
this doesn't give anything more than very rudimentary protection of
the page contents ... remember anyone can look into the browser's
cache or just simply hit "Print Screen" to copy the whole screen to
the clipboard.

Chris R.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация