ゃ鴻с <潟冴 108

1,980鐚篏 1,800鐚腮10%鐚
- 腮
- 悟
- 阪2
- 2016/2/26
- 若御
- 176
- 泣ゃ
- B5紊綵√
- HARUKI/Nagata Satoki/≪祉帥/羌篋 臂膣/篋綉 ュお/羈莪 篏/筝 夒/筝 若潟吾/薛篏 茯筝/絮 /紊ф 腑絖/紊у /絨絲 絎/灸 腴/ / 臂/ /藥羮 延/絨閺 蚊帥/≦ 罩f</絨 我/篏 紊/羇峨 腱蚊/贋 ュ/膺/蕭罘 羮/蕭罘 莠/遺賢 箙/c若 ゅ/藏翫兄
- ISBN
- 9784844380184
// // 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."); } } ?>