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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php