if you URLs are like that in your source code you will need to do something like this:
<?php
$url = preg_replace("#[(.+?)]#i","$urlbits['\\1']",$url)
?>
All you need to do the is create an array (for example $urlbits) and place all the replaces in for example [site_url] would be $urlbits
Ragnarok
Junior Poster in Training
94 posts since Mar 2004
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0