A very easy way to append string to a file using simple php script <?php $fn = “file.txt”; $file = fopen($fn, “a+”); $space.= “\n”; if($_POST['addition']) fwrite($file, $_POST['addition']); fwrite ($file, $space); fclose($file); ?> <form action=”<?=$PHP_SELF?>” method=”post”> <input type=”text” name=”addition”/><br/> <input type=”submit”/> </form>
Incoming search terms:
- inurl:intitle: XSS-PHP (1)
- php ajax textbox to iframe (1)
- simple_load_xml loop (1)
- spring mvc 3 onchange (1)
You will also be interested in ,
- Simple Javascript Slideshow
- Javascript setTimeout() Tricks
- PHP E-mail with attachment
- Arrays In PHP
- Caching of images using javascript image object
- MD5 Function and Unique ID in php
- How to display popular posts in wordpress
- Simple PHP Login Script
- Displaying or changing images each day
- Url rewriting examples using .htaccess


Testing the form.