>The PHP site seems to be down right now ... so here's the question: Is >it possible for PHP to tell me the current path of a page? For example: >www.whatever.com/this/page.php - I'd like PHP to return /this/page.php >... is that possible and if so, how so?
PHP site looks up to me, though I have been having intermittent difficulties recently with one of the servers - us4 I think. To get the current path of the page or other webserver-related environmental informatio, check the contents of the $_SERVER superglobal and all will be revealed. --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php