![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I would like to capture my users clipboard (plain text only) and then AUTOMATICALLY send them to a page displaying there contents, I want to get the +content+ put into a $content vairiable for easier manipulation in PHP. |
#2
| |||
| |||
|
|
"J" wrote I would like to capture my users clipboard (plain text only) and then AUTOMATICALLY send them to a page displaying there contents, I want to get the +content+ put into a $content vairiable for easier manipulation in PHP. If the purpose of this excercise is only the demonstration of clipboard functionality, there is no need for PHP or a second page: var a=clipboardData.getData("Text"); document.write( a.replace(/</g,'<') ); will be plenty. You strengthen your user's trust in you by NOT sending their clipboard back to your server. hth -- Ivo |
![]() |
| Thread Tools | |
| Display Modes | |
| |