Jump to content
Sign in to follow this  
7h331337

HTTP GET HELP!

Recommended Posts

7h331337

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

Share this post


Link to post
Share on other sites
Juvigy

I dont get it. Could you please post the whole code of your script and part or all the from the web page?

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.