You are here: Re: How can you disable Cut & Paste on Forum pages written in PHP? « All PHP « IT news, forums, messages
Re: How can you disable Cut & Paste on Forum pages written in PHP?

Posted by J.O. Aho on 11/16/05 21:39

Gary wrote:

> Not that I don't want to share ... because I certainly do. But I could
> do with a few more people coming inside and downloading the code and
> tutorials that I've write. You see people just stay on the outside and
> Cut and Paste the code rather that going through a very simple
> registration process.
>
> So how do I disable (if indeed it can be done) the Cut and Paste option
> from a bit of PHP code?

Cut and Paste is on the window manager that the user uses and even the most
common window manager called explorer don't have such security issues that you
can remotely turn off C'n'P.

The option you have is to make the code as images, which still can be
downloaded from the outside if they are displayed to those unregistered
persons, but they can't C'n'P, but have to type it manually.

Another option is to make the code none working when shown to unregistred
users, you may filter away all '{' and '}', which can alter the way the code
works quite a lot.


//Aho

 

Navigation:

[Reply to this 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

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