Page 1 of 1
Preventing copy paste in text fields
Posted: Tue May 24, 2005 3:52 am
by sumeet
I want to disable copy paste in html text field .. someone told me its possible in java is it possible in php ?? i m using sessions without cookies .... any suggestions ??
Posted: Tue May 24, 2005 3:58 am
by anjanesh
This is purely a client side part - cannot disable it using PHP as PHP is coded on the server side - You can use JavaScript to disable copy-paste but its really of no use since, if he really wants to copy-paste then he can simply disable javascript and copy-paste. Javascript is only meant for better interface - not security.
Posted: Tue May 24, 2005 4:02 am
by JayBird
Moved to client side