phpのGDを使う時の注意
![No Image No Image](https://180xz.com/blog/wp-content/themes/luxeritas/images/no-img.png)
imagecreatefromjpeg関数に大きなデジカメ画像を読み込ませたら動きませんでした。
どうも内部で処理する時に画像を展開するらしく元画像のファイルサイズではなく展開後のサイズ分(画像自体のキャンバスサイズ)メモリを ...
php+Ajaxのフォトギャラリーpyxy-galleryを試してみた。
![No Image No Image](https://180xz.com/blog/wp-content/themes/luxeritas/images/no-img.png)
友人の結婚式の写真を公開したいなーと思って
簡易フォトギャラリーを探したところ php+Ajax のフォトギャラリーpyxy-gallery というのがあったので入れてみた。
感想はイマイチ。。。
な ...
PHP+postgres文字化け
![No Image No Image](https://180xz.com/blog/wp-content/themes/luxeritas/images/no-img.png)
PHP+postgresでテストアプリを作ってみた。
文字化けが起こったのでテストスクリプトに以下を追加
$str = mb_convert_encoding($str “”euc-jpR ...