2013-02-21 Web上のデータを保存する PHP 画像とかPDFとかをWeb上から直接取得する方法。 1行で完結します。 file_put_contents($name, file_get_contents($image_url));