amit
amit

Reputation: 10261

fetch clipboard data

i need to fetch a Prt Screen Image from the clipboard and save it in the database. I have never really done the save image in database thing before.

Upvotes: 0

Views: 302

Answers (2)

JohnP
JohnP

Reputation: 50029

You can't grab a printscreen of a client by with PHP. PHP is a server side technology and cannot access the client. You'd have to use some kind of client side tech like flash, js or java applet. You might want to retag your question if those are permissible.

Upvotes: 1

BoltClock
BoltClock

Reputation: 724452

The clipboard lives on the client operating system; unless the user pastes the image into an editor, saves it and uploads it using a form, there's no way you can get that data with HTML and the server side alone.

Upvotes: 4

Related Questions