php-n00b Posted March 14, 2009 Share Posted March 14, 2009 Whats up? OK, Im a noobie to html, and wondered whats the code for a text box, that will save the input into a txt file on your ftp server? Thanks Bye. Link to comment https://forums.phpfreaks.com/topic/149401-little-html-toruble/ Share on other sites More sharing options...
Mchl Posted March 14, 2009 Share Posted March 14, 2009 Sense.... your question makes none. Unless I try very hard to find any. Tell us what you have come up with until now, what exactly is the problem you have and please explain why did you post it in 'PHP Help' if you think it is HTML problem. Link to comment https://forums.phpfreaks.com/topic/149401-little-html-toruble/#findComment-784680 Share on other sites More sharing options...
whelpton Posted March 14, 2009 Share Posted March 14, 2009 I think he means this: Process.php <?php $f = fopen("YOURTEXTFILE.txt", 'w'); fwrite($f, stripslashes ($_POST['save'])); fclose($f); header('Location: index.php); ?> Insert.php <form action="Process.php" method="post"> <textarea name="save" cols="50" rows="6" wrap="physical" value="" id="save</textarea> <input type="submit" value="Make Changes" /> </form> Link to comment https://forums.phpfreaks.com/topic/149401-little-html-toruble/#findComment-784686 Share on other sites More sharing options...
Mchl Posted March 14, 2009 Share Posted March 14, 2009 Maybe... or maybe not...And what's the deal with ftp server? Link to comment https://forums.phpfreaks.com/topic/149401-little-html-toruble/#findComment-784689 Share on other sites More sharing options...
whelpton Posted March 14, 2009 Share Posted March 14, 2009 Maybe hes talking about altering files on the *Insert random prefix here* Server? Link to comment https://forums.phpfreaks.com/topic/149401-little-html-toruble/#findComment-784708 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.