"M.Waters" <not@a.chance> wrote in message
news:fplhf1dhj3ltlm8ss1gjgcq8cv3ghi2krt@4ax.com...
> Stick in a debug output to show you what $newurl is being set as, so
> you can see if its a properly formatted url.
>
Thanks, it did turn out to be a badly formatted variable.