With "print_r($_SERVER);" I can get the server name and script path, but how do you detect if username and password are in the url as in the example below?

On Wednesday 06 November 2002 01:32, Phillip Erskine wrote:
Is it possible to get the entire url of the current page?  I am
particularly interested in getting the "username:password" part.

http://username:password@;www.mysite.com/path/to/file.php
print_r($_SERVER);

--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Your lover will never wish to leave you.
*/


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


_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp


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

Reply via email to