SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Jul 11, 2006, 06:56 #1
- Join Date
- Jul 2003
- Location
- Northeastern USA
- Posts
- 4,617
- Mentioned
- 56 Post(s)
- Tagged
- 1 Thread(s)
writing to a file, then loading it in another page
I'm trying to do something without any server-side language.
Basically, on one page, I have a submission form with FCKeditor where I am trying to write the html code from the html editor to a file, then have that code loaded into another page as its body.
Any ideas about how to do this, or if there's a better way than what I have in mind?
-
Jul 11, 2006, 07:03 #2
- Join Date
- Feb 2004
- Location
- Grahamstown
- Posts
- 634
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I dont think you can write to a file (either client or server), using a client-side language like javascript. Its a security issue.
you would need to use a server-side language i think (to write to a file on the server), a java applet if you want to write to a file on the client.
You can use javascript to call a server-side script which can write to the file. but u cant do this in pure client-side.
Bookmarks