You can echo the $capture variable to cause the page to be displayed. You can add the code for a submit form after the echo. If they click on the submit button, that code/page would do the logic to save the contents of the $capture variable to the file. To pass the $capture variable to the "save" page, either save it into a session variable or pass it as a hidden variable in the submit form.
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???
|