PDA

View Full Version : Javascript Copy


FatalBreeze
07-11-2007, 11:57 AM
I built a PHP script that shows all the files in a certain folder.

i want to add next to every file, a short text: "Copy This Link", that when someone clicks on that text, the the path to near file is copied, so that the user can click CTRL+V on the keyboard and see the path(i.e. http://www.mydomain.com/file.jpg).

Thanks!