curl-users
Re: Basic Authentication from command-line cURL
Date: Wed, 20 Jul 2005 13:48:34 -0700 (PDT)
thanx for your help guys...
just another silly question ^_^
how do u find out if it works on the browser? when i
typed the url, it shows 'You are not authorized to
view this page...etc...' message only
btw, i'm gonna send them an e-mail
(*again,again&again*) ^_^ ; at least to make them
know.
thanx, once again !!! i'll keep u guys updated
--- Bill Mercer <bmerc_at_nccer.org> wrote:
> >it doesn't work at all. it always gives me an error
> >message '401.2 - Unauthorized'.
>
> Eh? If your credentials don't work when you use a
> browser, then you
> shouldn't expect them to work with curl.
> First you need to have working credentials that let
> you log into the
> site successfully with a browser. You need to fix
> that first.
>
> >>>> law_rent_at_yahoo.com 07/20/05 02:56PM >>>
> >
> >since it doesn't work from PHP, so i tried it from
> >command line, hoping it might work.
> >
> >so, whenever i send a plaintext username &
> password,
> >curl will encrypt them (not fully encryption) using
> >base64 function, as mentiod by ignacio, right?
> >
> >i'm really confused 8-(. i've been working on this
> too
> >long....
> >
> >any help???
> >
> >thanks !
> >
> >laurent
> >
> >--- Dan Fandrich <dan_at_coneharvesters.com> wrote:
> >
> >> On Wed, Jul 20, 2005 at 09:28:41AM -0700, pURbA
> >> wrote:
> >> > thanx 4 ur reply, man.
> >> >
> >> > i did try it using browser. this is my code:
> >>
> >> So, what did the browser send when it worked?
> How
> >> does that differ from what
> >> your code sends?
> >>
> >> >>> Dan
> >> --
> >> http://www.MoveAnnouncer.com The web
> >> change of address service
> >> Let webmasters know that your web site
> has
> >> moved
> >>
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam? Yahoo! Mail has the best spam
> protection around
> >http://mail.yahoo.com
>
>
> Cheers,
>
> Bill Mercer - National Center for Construction
> Education and Research
> 3600 NW 43rd St
> Gainesville, Florida 32606
> http://www.nccer.org
> Phone 352-334-0911 Fax 352-334-0932
> =============================================
>
>
>
>
>
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
Received on 2005-07-20