From: "Nick Wilson" <[EMAIL PROTECTED]>

Whats the easiest/best way to do that with php?
just replace the line with ''?

Yes, basically. You have to read the file, replace the part you don't want with an empty string and then re-write the file. If the file is small and you're using file() to read it, you can just unset() the element you don't want, then join the array back together and write it.


---John Holmes...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to