Jump to content


Photo

how to access protected pages


  • Please log in to reply
2 replies to this topic

#1 michaellunsford

michaellunsford
  • Members
  • PipPipPip
  • Advanced Member
  • 1,023 posts
  • LocationLouisiana, USA

Posted 09 October 2006 - 07:40 PM

this might be a common question, but I really don't know how to ask it, so any help would be greatly appreciated.

Basically, when you visit this website, it pops up a login screen (as part of the browser). If I curl the page, I get 401 Unauthorized errors, along with some other headers I don't recognize:

HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm="example.com"
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTR STP IND DEM"

Any idea how to help PHP or curl to access this kind of page?

#2 Orio

Orio
  • Staff Alumni
  • Advanced Member
  • 2,491 posts

Posted 09 October 2006 - 07:54 PM

http://www.higherpas...mote-Servers/5/

Have fun :)

Orio.
Think you're smarty?

(Gone until 20 to November)

#3 michaellunsford

michaellunsford
  • Members
  • PipPipPip
  • Advanced Member
  • 1,023 posts
  • LocationLouisiana, USA

Posted 09 October 2006 - 08:00 PM

Looks like the magic. Thanks!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users