$img_path // 取得する画像のパス(URL)
$path = "ここは保存先のパス";  //  /home/ドメイン/public_html/imagesなど
$img = file_get_contents($img_path) ;//画像を取得
$fullpath = $path.basename($img_path);//画像の保存フルパス
file_put_conten… 
  
        (.*?)/i”, $html, $matches) ) { //(3)
        return $matches[1];
    } else {
        return false;
    }
}
?>
参照元:http://creazy.net/2008/05/php_get_page_title_sample.html 
  
  
      graffiti on the web      
この投稿へのコメント
コメントはまだありません。