Hi,
Zitat:
Error 403: You do not have the necessary credentials to access the requested URL
|
den liefert die angefragte Seite und ohne zu wissen welche du anfragst und was du
da vorhast kann dir keiner helfen!
PHP-Code:
<?php
$ch = curl_init();
$timeout = 5;
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($c, CURLOPT_SSL_VERIFYHOST, 1);
curl_setopt($ch, CURLOPT_URL, "https://www.google.de");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$file_content = curl_exec($ch);
curl_close($ch);
print $file_content;
?>
Läuft ohne probleme ;)
MfG
CKaos