RE: basic script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Zareef Ahmed 

-----Original Message-----
From: a.garcia@xxxxxxxxxxxxx [mailto:a.garcia@xxxxxxxxxxxxx] 
Sent: Wednesday, November 10, 2004 9:56 AM
To: php-general@xxxxxxxxxxxxx
Subject:  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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux