|
Posted by Mike P2 on 05/24/07 19:34
On May 24, 5:35 am, semi_e...@inbox.com wrote:
> I found a nice example of ebay login using PHP and cURL athttp://curl.haxx.se/libcurl/php/examples/
>
> Is this technique applicable to sites that authenticate users using a
> browser-opened dialog? (like .htaccess user validation)
>
> The ebay example is a lot to take in for a newbie like me, so I'd like
> to have an idea first whether it is worth the time and effort
> modifying it.
>
> Tips or links to online examples ?
> Cheers.
>
> Semi
I wonder if you can log into those like FTP through a browser, so that
http://username:password@website.com
would authenticate you. I can't think of any websites that I log into
that require that type of login to try it on.
Anyway, I think you are saying you want to use HTTP header
authentication. This just requires sending a few more headers (usually
after a 401 code is returned), which is described officially by the
W3C here:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.8
-Mike PII
[Back to original message]
|