SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2001
    Location
    Tacoma, WA
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    by pass network password with php

    Hi,

    when you goto a password protected page, a dialog will popup asking you to enter username & password.

    Is there a way to get through that page with the username & password embeded in a php script?

    Thanks

    sang

  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If the page is using normal .htaccess style password protection, then no you can't bypass it with vars in a php script, but you can link to it like.


    http://username:password@www.domain.com/

    Replacing username and password with real username and password.
    Last edited by freddydoesphp; Aug 21, 2001 at 18:17.
    Please don't PM me with questions.
    Use the forums, that is what they are here for.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •