Code: Select all
$html=preg_replace('/http:\/\/subwww.unibe.ch\//','?c=',$html);Moderator: General Moderators
Code: Select all
$html=preg_replace('/http:\/\/subwww.unibe.ch\//','?c=',$html);Code: Select all
$html = str_replace('http://subwww.unibe.ch/', '?c=', $html);Code: Select all
$center=str_replace('href="http://subwww.unibe.ch/','href="?c=',$html);Code: Select all
echo $html;
echo "\n\n---------\n\n";
echo str_replace('http://subwww.unibe.ch/', '?c=', $html);