Re: header

From: Date: Tue, 16 Sep 2008 16:08:19 +0000
Subject: Re: header
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-280290@lists.php.net to get a copy of this message
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

« previous php.general (#280290) next »