It is as risky to believe everything, as it is to believe nothing. - Denis Diderot

Archive for the 'PHP' Tag

— [cakephp]Ajaxで画像のキャッシュを残さない

Posted: Nov 17, 2008, 3:11 am | Author: cyberryo | Category: Dialy | Tags: , ,


Ajaxで画像をアップロードして更新、表示させるみたいなのを作っていたら、どうしても画像はブラウザにキャッシュされたものが表示されてしまう。。
Read the rest of this entry »


— [cakephp]Cache::engineが便利

Posted: Nov 11, 2008, 1:12 am | Author: cyberryo | Category: Dialy | Tags: ,


ビューのキャッシュはよく使うけど、どうしてもrenderする前のキャッシュが欲しいとき、Cache::engineが便利です。
Read the rest of this entry »


— [php]XAMPPでPEARが使えないとき

Posted: Oct 28, 2008, 1:12 am | Author: cyberryo | Category: Dialy | Tags: , ,


XAMPPってインストールしただけじゃPEARが使えないって、昔からでしたっけ?久々にpear使おうと、コマンド打ってもFatal errorが出まくって大変でした。
Read the rest of this entry »


— Mac OS X に開発環境を構築していくよ

Posted: Jul 20, 2008, 10:59 am | Author: cyberryo | Category: Dialy | Tags: ,


自宅にMac環境作ったこともあり、この頃どんどんマカーになってきてます。てかiMac安すぎでしょ。Winでも全然いいんですけど、Macだとなんかカッコいいじゃないすか。MacOSXはAMP(Apache,MySQL,PHP)のAPがデフォルトで入ってるし、Macportsみたいな便利ツールもあるし。日頃サーバーを弄ってる僕にはなじみやすいかも。
Read the rest of this entry »


— 【Linux】phpからffmpegを使って3gp、flv変換

Posted: Feb 13, 2008, 1:06 pm | Author: cyberryo | Category: Dialy | Tags: , ,

noimage.jpg
そうそう、ffmpegをインストールしたのは、携帯からのiモーションメールをFLVに変換したかったから。
とりあえず、PHPからffmpegを使おう(;゚д゚)
Read the rest of this entry »