Append to files
  1. Create a Web page with this code:

    <html>
    <head>
    <title>Append to files</title>
    </head>

    <body>

    <h2>Add to Today's Thought</h2>

    <form name="thought" action="http://www.yourwebsite.com/cgi-bin/perlscripts/textappender.pl" method="post">

    <input type="hidden" name="filename" value="textthought.txt">

    <textarea name="comments" rows="3" cols="50" wrap></textarea>

    <input type="submit" value="Update Thought" name="submit">

    </form>

    </body>
    </html>
  2. Save the page as textappender.html in the PERLSCRIPTS folder, then upload it to the home directory in your Web site.