使用例
//パスワード生成クラス読み込み
require_once 'My/Password.php';
//デフォルトは8桁のパスワードが生成されます
$password = My_Password::getPassword();
var_dump($password);
//『32桁、小文字英字のみ』のパスワード生成
$password = My_Password::getPassword(32, 'small');
var_dump($password);
…
ピックアップ記事
phpでランダムなパスワードを生成
2010年01月29日
過去Blog
php MySQL 2つのテーブルを縦に並べて結合(union)し、結果を抽出する
2010年03月30日
過去Blog
select c1,c2,c3 from A
union all
select c1,c2,c3 from B
参照元:http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1115439551 divorce lawyer san diego…
linux sambaでwindowsとファイル共有
2010年09月28日
過去Blog
linux側の設定の参考サイト
http://www.linuxmania.jp/samba_setting.html
日本語が文字化けする場合
[global]以下に次の3行を追加する
# vi /etc/samba/smb.conf
[global]
dos charset = CP932
unix charset = UTF8
display charset = UTF8…
PHP 配列から空白要素を削除する
2010年02月20日
過去Blog
配列 $array_exampleの要素のなかで、空白のものを削除。
$array_example = array_filter($array_example, 'strlen');
objective-C 日時関連
2011年04月28日
過去Blog
http://d.hatena.ne.jp/KishikawaKatsumi/20081121/1227275688
http://unicode.org/reports/tr35/tr35-6.html#Date_Format_Patterns
graffiti on the web
この投稿へのコメント
コメントはまだありません。