[PHP-DB] fwrite(): can this function append to the middle of a file?
Can i write to the middle of a file using the fwrite() function like --- line one line two line three and maybe the next day i want to write in between line two and line three. how pls. -- View this message in context: http://www.nabble.com/fwrite%28%29%3A-can-this-function-append-to-the-middle-of-a-file--tf4277768.html#a12175989 Sent from the Php - Database mailing list archive at Nabble.com. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] fwrite(): can this function append to the middle of a file?
joefazee wrote: Can i write to the middle of a file using the fwrite() function like --- line one line two line three and maybe the next day i want to write in between line two and line three. Read in the whole file. Put the line in the middle manually. Write the whole file out again. fwrite itself doesn't have the functionality you want. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php