In article <[EMAIL PROTECTED]>, vallee.marc- [EMAIL PROTECTED] says... > Hi, > > Here is a foo.txt file : > > name=foo > age=100 > sex=y > > I want to open the file, find the age line, and then replace the 100 with > another value. > The only way i see, is to rewrite the entire file........
That is correct. You need to load the file into your script, make whatever changes and then write it back. > > Maybe this is a stupid question, but, i tried the online doc, and saw > nothing about this.... > -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php