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
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
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
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
4 matches
Mail list logo