ゃEOS R5/R6絎ゃ

2,420鐚篏 2,200鐚腮10%鐚
- 腮
- 阪2
- 2020/9/29
- 若御
- 144
- 泣ゃ
- A4紊綵√
- 膠括ュ/若祉吟/傑劫/援域激/筝茱炊顙眼/筝茱炊顙眼/絖綽/贋薤/筝筝/c若eゅ/箙篆井/後絖/絏≦綛吾/莖絖/絲阪涯演篏潟/ゅ薑/筝紊/育※宴//筝医膣/腑篁
- ISBN
- 9784295010265
// // CURL ライブラリを使ってファイルをローカルに保存 // // 04Sep07(c)Yuuki'SOI'Umeno, and Creators Guild Co.,Ltd. // require_once 'class/IJ_Log.php'; function get_url_by_curl($url, $file) { if ( $url ) { $cl = curl_init(); if ( $cl ) { $fp = fopen($file, 'w'); if ( $fp ) { curl_setopt($cl, CURLOPT_URL, $url); curl_setopt($cl, CURLOPT_FILE, $fp); if ( curl_exec($cl) ) { IJ_Log::debug("complete get image: \"$file\""); fclose($fp); } else IJ_Log::write("failed curl execution: \"$url\""); } else IJ_Log::write("not open file: \"$file\""); curl_close($cl); } else IJ_Log::write("not initialize curl library. please check PHP configuration."); } } function get_url_by_curl_as_string($url) { if ( $url ) { $cl = curl_init(); if ( $cl ) { IJ_Log::debug($url); curl_setopt($cl, CURLOPT_URL, $url); curl_setopt($cl, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($cl, CURLOPT_RETURNTRANSFER, 1); $buf = curl_exec($cl); IJ_Log::debug($buf); if ( $buf === FALSE ) IJ_Log::write("failed curl execution: \"$url\""); curl_close($cl); return $buf; } else IJ_Log::write("not initialize curl library. please check PHP configuration."); } } ?>