• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

file create in javascript

 
Justin Fox
Ranch Hand
Posts: 802
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


in the above code i want to create a file with the persons name,
and then write their message to it.
but i want to do it on the space provided by freewebs.com
but when i click on the button "hit me" i get an error on page.
i tried just putting name+".txt" in the first parameter in the
filecreate function. But i get the same error.

in my "server space", i guess thats what it is called, i have a folder
named 'messages'.

is there a correct way to do this? or am i attempting something that is
not fesable.

Thanks,

Justin Fox
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The activeX object would write the file to the user's computer if they have the settings set to allow it to happen.

If I remember correctly, freewebs has a contact us form in their options. Why don;t you use that?

Eric
 
Justin Fox
Ranch Hand
Posts: 802
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wanted to see if i could do it myself.

is there a way?


Justin Fox
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic