Jump to content

[SOLVED] PHP Username and Password Connect


tommyboy123x

Recommended Posts

$ch = curl_init();
$handle = fopen("file.txt", "w");
curl_setopt($ch, CURLOPT_URL, "$url");
curl_setopt($ch,CURLOPT_USERPWD,"user:password");
curl_setopt($ch,CURLOPT_FILE,$handle);
curl_exec($ch);

 

thanks.  i looked back and found i just typed in "http://user:[email protected]" to connect authenticated sessions

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

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.