I'm trying to have a user put text (with carriage returns and general formatting) in a textarea with the ID of 'data'. A submit button then passes that through javascript-
Expand|Select|Wrap|Line Numbers
- <input type='button' value="Save" onclick="javascript:loadXMLDoc('div','read.php?k='+document.getElementById('data').value)></input>
Expand|Select|Wrap|Line Numbers
- fwrite($tmp, $contents);
- rewind($tmp);
- ftp_fput($this->con, $remote_file, $tmp, FTP_ASCII,0);