if you URLs are like that in your source code you will need to do something like this:
[php]<?php
$url = preg_replace("#[(.+?)]#i","$urlbits['\\1']",$url)
?>[/php]
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['siteurl']
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Offline 94 posts
since Mar 2004