note 80593 rejected from function.fopen by nlopess
| From: | nlopess@php.net | Date: | Thu, 24 Jan 2008 10:22:45 +0000 |
| Subject: | note 80593 rejected from function.fopen by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-135362@lists.php.net to get a copy of this message | ||
Note Submitter: easoukenka at gmail dot com
----
Hard to explain but what I would like to do is change a text file if there is a value present for
instance
file contains:
background-color:black;
and the string I am overwriting the file with contains:
background-color:;
I would like it not to erase the data in the file because it is blank.
if the file contains:
background-color:black;
and the string I am overwriting the file contains:
background-color:navy;
Then I would like it to change that value in the file. Any tips would be great thank you