Re: configuration class - skeleton code for first OOP adventure
| From: | anders thoresson | Date: | Thu, 09 Oct 2003 16:23:45 +0000 |
| Subject: | Re: configuration class - skeleton code for first OOP adventure | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165622@lists.php.net to get a copy of this message | ||
This will not work. For example if you have: option1 = value; option2 = value2; then ereg_replace('value', 'changed', $contents); will make it: option1 = changed; option2 = changed2;My plan is to have "option1 = value;" as old value and "option1 = changed;" as new value. Not only the change value. -- anders thoresson