From: "Brad" <[EMAIL PROTECTED]>
> I keep getting errors on my websites, that contain absolute URLs, e.g.
> http://www.url.com/blah.html. With most, being in the folder of my
> website, it's fine, i can just add $_SERVER['DOCUMENT_ROOT'], but
> there's a script I use to display the network statistics of an IRC
> network, which is located on a different server, so i can't use the
> $_SERVER['DOCUMENT_ROOT'], I'm wondering if anyone has an answer to
> this. I'm almost to the stage of just asking the script owner if I can
> have it located locally, so i can use the $_SERVER['DOCUMENT_ROOT']
> variable.

Ummm... if the page you're linking to isn't on your server, then you need to
hard code the link to that page. If your "script" automatically uses
$_SERVER['DOCUMENT_ROOT'] for every URL that's created, then you need to
rewrite that "script". That's the "solution".

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to