Re: header

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

« previous php.general (#280276) next »