Re: Re: Authentication with PHP and HTTP
| From: | Silver | Date: | Tue, 05 Nov 2002 11:29:47 +0000 |
| Subject: | Re: Re: Authentication with PHP and HTTP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122754@lists.php.net to get a copy of this message | ||
very true :)
thx - I will keep that in mind...
"Chris Shiflett" <shiflett@php.net> schrieb im Newsbeitrag
news:3DC71CBE.2050703@php.net...
> 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?
> >
>