Jump to content

HTTP GET HELP!


Recommended Posts

CAN ANY ONE HELP ME WITH HTTP BASIC AUTHENTICATION

I HAVE TRYED SO MANY WAYS BUT CANT GET IT TO WORK ANY HELP WILL BE MUCH APPRECIATED

can any one help me plz :D

$command = "GET "&$request&" HTTP/1.1"&@CRLF
    $command &= "Host: test.com"&@CRLF
    $command &= "User-Agent: cls101"&@CRLF
    $command &= "Authorization: Basic dGVzdDp0ZXN0"&@CRLF
    $command &= "Connection: close"&@CRLF

ty

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...