anders thoresson wrote:
foreach ($changedValues as $changedValue)
{
$new_contents = ereg_replace($changedValue[old], $changedValue[new], $contents);
$contents = $new_contents;
}

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;

Marek

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



Reply via email to