Re: Current web page being displayed

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

 




hai ..
	if u r seeing http://www.google.com/blog/myblog.php

then
	$_SERVER[SERVER_NAME] would give u www.google.com
and
	$_SERVER[PHP_SELF] would give u /blog/myblog.php

for details just print the array $_SERVER and see it ..



On Sat, 6 Aug 2005, Ron Piggott wrote:

What is the correct $_SERVER that tells me what page is currently being
displayed?  Ron



--
*********************************************************************************************

	You wouldn't know an OS if it hit you in the face ...

						Linux Baby !

*********************************************************************************************

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux