サーバの時刻設定
1. 時刻確認
date
2. 時刻設定
date -s "2006/02/20 19:03"
linux上で、上記のコマンドを実行すれば、調整出来ます。
参照元:http://memorva.jp/memo/linux/date_ntp.php buy anabolics online…
$img_path // 取得する画像のパス(URL)
$path = “ここは保存先のパス”; // /home/ドメイン/public_html/imagesなど
$img = file_get_contents($img_path) ;//画像を取得
$fullpath = $path.basename($img_path);//画像の保存フルパス
file_put_contents($fullpath, $img);//保存。
*basename >> パス中のファイル名の部分を返す
graffiti on the web
この投稿へのコメント
コメントはまだありません。