Jump to content

Little HTML Toruble


php-n00b

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.