Re: Re: Authentication with PHP and HTTP
| From: | Chris Shiflett | Date: | Tue, 05 Nov 2002 01:19:58 +0000 |
| Subject: | Re: Re: Authentication with PHP and HTTP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122722@lists.php.net to get a copy of this message | ||
You can "hide" URLs by fetching them with one of your own PHP scripts:
<base href="www.site.com">
<?
readfile("http://user:password@www.site.com/");
?>
I think it might be at least better than frames. :-)
Chris
silver wrote:
you could use this URL syntax: http://user:password@www.site.com to automatically log your user in to the htaccess protected area. the bad thing about it is that user / password show up in the URL, but you could hide this information with using frames... are PHP/MySQL usernames + passwords the same like in Apache/HTTP?