fork download
  1. <?php
  2. $curl = curl_init();
  3. curl_setopt($curl, CURLOPT_URL, "https://google.com/");
  4. curl_setopt($curl, CURLOPT_USERPWD, 'admin:sk8free');
  5. curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
  6. curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
  7. curl_setopt($curl, CURLOPT_HEADER, FALSE);
  8. curl_setopt($curl, CURLOPT_HTTPGET, FALSE);
  9. curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
  10. ?>
  11.  
Success #stdin #stdout 0.03s 25456KB
stdin
Standard input is empty
stdout
Standard output is empty