Re: [PHP] Get Entire URL for Current Page

2002-11-05 Thread Jason Wong
On Wednesday 06 November 2002 01:54, Phillip Erskine wrote: > 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? Basically if you don't see it when you do "print_r($_SERVER)" then you can't

Re: [PHP] Get Entire URL for Current Page

2002-11-05 Thread Phillip Erskine
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 int

Re: [PHP] Get Entire URL for Current Page

2002-11-05 Thread Maxim Maletsky
print $_SERVER['REQUEST_URI']; -- Maxim Maletsky [EMAIL PROTECTED] "Phillip Erskine" <[EMAIL PROTECTED]> 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.

Re: [PHP] Get Entire URL for Current Page

2002-11-05 Thread Jason Wong
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 -> Greml

[PHP] Get Entire URL for Current Page

2002-11-05 Thread Phillip Erskine
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 _ Choose an Internet access plan right for yo