houssam_ballout Posted January 2, 2007 Share Posted January 2, 2007 hello allI have a text area, and I need a button near it which when clicked it will save the content of the text area into a file.any help?thanks Link to comment Share on other sites More sharing options...
Skemcin Posted January 2, 2007 Share Posted January 2, 2007 a.) This will require a server-side scripting language like ColdFusion, ASP, or PHPb.) on the server, you create a temporary file - using a UUID or today's date and time to the millisecond.b.) When the form is submitted, you take the contents of the form field submitted and add it to the temp file you created.c.) Then, use a technique to refresh the browser window to load that file - i.e. <meta http-equiv="refresh" content="2;url=[yourfilename]"> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now