Re: PHP code Port
| From: | Matt | Date: | Mon, 09 Oct 2000 21:59:40 +0000 |
| Subject: | Re: PHP code Port | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19252@lists.php.net to get a copy of this message | ||
I'm not sure how to do it in php, but hopefully this can help someone who
knows how. In Cold Fusion I use #CGI.Script_Name# for the current page and I
know that there is one for the host, I forge the exact name. I guess there
must be a way for PHP to access CGI variables.
----- Original Message -----
From: "Hostmaster" <admin@dotcom.am>
To: "php-general" <php-general@lists.php.net>
Sent: Monday, October 09, 2000 5:57 PM
Subject: [PHP] PHP code Port
> 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.
>