Hi,
Use 
 print $_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];

Zareef Ahmed 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 10, 2004 9:56 AM
To: [EMAIL PROTECTED]
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to