
March 23rd, 2000, 05:20 PM
|
|
Registered User
|
|
Join Date: Jul 1999
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
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
|