DevMan /Users/devman
1014 ~ % php -a 2012-01-27 22:06:41 devman ttys004
Interactive shell
php > $i = file_get_contents( 'http://www.petshop.ru/netcat_files/115/135/h_11257dd5bf05a39403cb8a4b4b52cb2a' );
php > file_put_contents( 'i.jpg', $i );
php > exit;
DevMan /Users/devman
1015 ~ % ls -la | grep i.jpg 2012-01-27 22:07:27 devman ttys004
-rw-r--r-- 1 devman staff 87878 Jan 27 22:07 i.jpg
DevMan /Users/devman
1016 ~ % head -n2 i.jpg 2012-01-27 22:07:40 devman ttys004
????WExifII?
?????(1?2CanonCanon EOS-1DS??-'??-'Adobe Photoshop CS5 Windows2012:01:17 17:27:24??j??r"?'?d?0220?z????
...