Hi,

I'm writing a php script to go through an html file and replace all href links to include some php stuff...literally...

$old = 'href="url"' ==>
$new = 'href="<?php $GLOBALS["auth"]->purl("url") ?>"'

but I'm having major problems assigning $new:
1) the <?php part
2) the $GLOBALS part

I don't know how to get around my problem. Please help!

TIA