RE: [PHP] basic script
| From: | Zareef Ahmed | Date: | Wed, 10 Nov 2004 04:29:58 +0000 |
| Subject: | RE: [PHP] basic script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201649@lists.php.net to get a copy of this message | ||
Hi,
Use
print $_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
Zareef Ahmed
-----Original Message-----
From: a.garcia@imb.uq.edu.au [mailto:a.garcia@imb.uq.edu.au]
Sent: Wednesday, November 10, 2004 9:56 AM
To: php-general@lists.php.net
Subject: [PHP] basic script
I just want the URL that is on the navigator bar be
printed... this is my script but it just does not do it...
why,.. please help, cheers
<HTML>
<TITLE>First Variables Example</TITLE>
<BODY>
<?php echo "VALUE IS: $x";?>
>> Well where you set the $x????
</BODY>
</HTML>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
------------------------------------------------------------------------
--
Zareef Ahmed :: A PHP develoepr in Delhi ( India )
Homepage :: http://www.zasaifi.com