At 3:16 PM +0100 9/16/08, Nathan Rixham wrote:
Alain R. wrote:
Hi,
how in PHP can i create the similar header as following ?
<head>
<base href="www.mywebsite.com">
</head>
thx.
A.
just incase everybody else went down a complete tangent on this one
<head>
<base href="<?php echo $_SERVER['HTTP_HOST']; ?>">
</head>
it's not nice, elegant, the *proper* way to do things but it'll do
the job if I understand you correctly
I don't see anything wrong with it. It looks nice, elegant and proper to me.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php