沖縄が日本のシリコンバレーのようになってほしいと願うiOSエンジニアのブログ

世のエンジニアの役に立つようなブログにしたいなぁ

開発参照サイト

FCKeditor
http://www.fckeditor.net/demo
 設定
http://ameblo.jp/gaia/theme-10000008810.html
http://wiki.poyo.jp/read/Writing/kiwameru_php_vol.1/wysiwyg-editor
セキュリティ
http://xoops.peak.ne.jp/md/news/index.php?page=article&storyid=396
プラグイン(ファイルブラウザ)ajaxfilemanager
http://beabo.net/tag/fckeditor/
FCKeditor+quickform
http://www.netsols.de/pear/
http://ameblo.jp/icz-tech/entry-10038930973.html
http://d.hatena.ne.jp/hurvinek/
 文字化け
http://d.hatena.ne.jp/zainin/20080627/1214549153
文字コード
http://park1.wakwak.com/~ima/php_tips0001.html
http://php.goinkyo.be/?clt=general&doc=encode
メールで画像アップロード
http://php.s3.to/simple/
smarty+quickform
http://digit-01.com/ownpage/ownpage_qfrm_smrty_scrn.html
http://www.okushin.co.jp/information/HTML_QForm/13_with_Smarty/
phpsample
http://w1.nirai.ne.jp/freeze/list.html
http://php.dori-mu.net/
Calender + QuickForm
http://www.netsols.de/pear/
phpmyadmin文字化け
http://akira.matrix.jp/index.php?ID=57

PEARインストール時のFatal error

PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 92160 bytes) in /usr/share/pear/PEAR/Dependency2.php on line 678
Allowed memory size of 8388608 bytes exhausted (tried to allocate 0 bytes)

php.iniでメモリ上限を調整する

memory_limit = 8M
memory_limit = 16M

MySQLでの正規表現

特定の記号区切りの数字限定のデータについて、不正な文字列(数字以外の文字がはいってしまっている)となっている行を検索する場合。

区切り文字が「<>」の場合

SELECT *
FROM `test`
WHERE zekken
REGEXP '[^0-9<>]|<[^>]|[^<]>|^<|>$'

※解説
[^0-9<>] ・・・0から9以外の文字(数字以外)と「<」「>」以外
<[^>]   ・・・後に「>」が続かない「<」(区切り文字列じゃない)
[^<]>   ・・・前に「<」が付かない「>」(区切り文字列じゃない)
^<    ・・・文の最初に「<」が付く
>$     ・・・文の最後に「>」が付く