HTTP authentification

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Donny Riyadi

    HTTP authentification

    Hi,
    I need to download an XML file from a website, but everytime I go to the
    URL, I need to authenticate(ba sic) via the http header.
    What kind of text should I send to do it via php ?
    THanks
  • Donny Riyadi

    #2
    Re: HTTP authentificatio n

    I have solved it.
    I have to open it like this : fopen('http://user:pass@url.. ..','r');

    Donny Riyadi schrieb:
    Hi,
    I need to download an XML file from a website, but everytime I go to the
    URL, I need to authenticate(ba sic) via the http header.
    What kind of text should I send to do it via php ?
    THanks

    Comment

    Working...