[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 you

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

[PHP] Authentication with PHP and HTTP

2002-11-04 Thread Phillip Erskine
I have a site that uses PHP/MySQL authentication for one section and Apache/HTTP authentication for another. Eventually I would like to use only PHP and MySQL for authenticating users, but in the meantime, I have to use both. First, users will log in to the main section of the site and I

Re: [PHP] quert problems

2002-10-07 Thread Phillip Erskine
SET comes before WHERE $q = UPDATE userpref SET preference=$HTTP_POST_VARS[required_hits] WHERE username='kurth' AND preference=required_hits; _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- PHP