2008-11-05から1日間の記事一覧
*1225875129*[php]ファイル作成 $fileName = time().".jpg"; $fp = fopen("img/".$fileName, 'wb'); fwrite($fp, $GLOBALS['HTTP_RAW_POST_DATA']); fclose($fp); print $fileName; Windows環境でバイナリファイルを開く場合には、モードに'b'または't'を追…
*1225875129*[php]ファイル作成 $fileName = time().".jpg"; $fp = fopen("img/".$fileName, 'wb'); fwrite($fp, $GLOBALS['HTTP_RAW_POST_DATA']); fclose($fp); print $fileName; Windows環境でバイナリファイルを開く場合には、モードに'b'または't'を追…