Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001032

[PHP] please help with this simple problem From: adam (adam <email protected>)
Date: 03/22/01

i am coding a simple script to post a text area into a file. it works, but
it posts it at the bottom and i wanted to have it post to the top of the
text already there..

here's a snip of the important part of the script:

$fp = fopen (basename($PHP_SELF) . ".comment", "a");
 fwrite ($fp, $message);
 fclose ($fp);
 }

any help would be much appreciated

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>