Web Analytics Made Easy -
StatCounter execCommand - can I do this? - CodingForum

Announcement

Collapse
No announcement yet.

execCommand - can I do this?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • execCommand - can I do this?

    Can I use execCommand to save just the contents of a textfield as a PHP file on a users computer? I've been searching for an hour and can't figure out how to do it.

    Stephen

  • #2
    Not really no, javascript cannot reliably access the user's file system.
    Helping to build a bigger box. - Adam Matthews

    Comment


    • #3
      Absolutely NO and you would not want someone to have that kind of previlege to your PC, would you? Alternatively, you can store that file somewhere on server and ask your user to download it via a link.
      so happy, so cool

      http://coolersport.info

      Comment

      Working...
      X