RE: [PHP] PHP code Port

From: Date: Mon, 09 Oct 2000 23:02:47 +0000
Subject: RE: [PHP] PHP code Port
Groups: php.general 
Request: Send a blank email to php-general+get-19255@lists.php.net to get a copy of this message
> I am looking for somting like the following code but writen in PHP. > > <script language="vbscript"> > Document.Write Top.Location.HostName > </script> > > The Code you see above, will take the curent URL of the domain > you are at and write it to the page. If someone can help me do this > using PHP I would be greatful. <? echo $HTTP_HOST; ?> If you're ever wondering about variables like this, you can rip them right out of the phpInfo(); output - just put <?phpInfo();?> on its own in a file and browse to it. Jason

« previous php.general (#19255) next »