Hello, Hawk, You might wanna checkout the "w+" modifier.
======= At 2002-04-29, 22:49:00 you wrote: ======= >lets say I have 30 lines of text and I want to store it in a folder called >"txt" with the filename $name.txt and, if $name.txt exists, create a >$name1.txt or similiar? > >Håkan > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php = = = = = = = = = = = = = = = = = = = = Best regards. Eric Coleman [EMAIL PROTECTED] 2002-04-29 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php