Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

php - grabbing a page by url (that requires auth)

Options
  • 27-09-2008 9:09pm
    #1
    Closed Accounts Posts: 7,145 ✭✭✭


    I've toyed around with this before and hit a dead end...
    What I'm trying to do is write a php script that'll retrieve a page of html from my router's config interface (for logging and processing stats).

    The only problem is that the page requires authentication (in the form of a pop-up box, which looks like the .htaccess one).
    What I'm not sure how to do is send the username/password with my request.

    Can someone point me in the direction of what functions I should be looking at? :confused:


Comments

Advertisement