Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これは私が受け取るエラーメッセージです:
警告:file_get_contents(http://example.com/.../asoplayhd2.jpg)[function.file-get-contents]:ストリームを開くことができませんでした:HTTPリクエストが失敗しました!/home/dttrading/qtech.sk/static/agem_images_download.phpの40行目
リクエストが失敗した理由に関する詳細情報を見つける方法はありますか?
カールを使ってみてください
$ch = curl_init(); // set URL and other appropriate options curl_setopt($ch, CURLOPT_URL, "http://www.example.com/"); curl_setopt($ch, CURLOPT_HEADER, false); curl_exec($ch); curl_close($ch);