$img_path // 取得する画像のパス(URL)
$path = "ここは保存先のパス"; // /home/ドメイン/public_html/imagesなど
$img = file_get_contents($img_path) ;//画像を取得
$fullpath = $path.basename($img_path);//画像の保存フルパス
file_put_conten…
以下のようにすることで、10文字ごとに “n”で区切ることが出来ます。
参照元:http://www.php.net/manual/ja/function.wordwrap.php
この投稿へのコメント
コメントはまだありません。