博文

目前显示的是 一月, 2009的博文

Plugging mcrypt into PHP, on Leopard 10.5.6

mcrypt on Fedora Core easy - on Leopard with PHP 5.2.6 not so much. First, you are going to need a few things… 1) libmcrypt-2.5.8, which you can pick up here ; 2) PHP 5.2.6 source, which you grab here ; and 3) Xcode 3 tools (dig through your sock drawer to find your Leopard disk). Next, create a directory at root called ‘SourceCache’ and dump the files from #1 and #2 in there and unwrap. Move to the libmcrypt-2.5.8 directory, and punch in this… MACOSX_DEPLOYMENT_TARGET=10.5 CFLAGS='-O3 -fno-common -arch i386 -arch x86_64 -arch ppc7400 -arch ppc64' LDFLAGS='-O3 -arch i386 -arch x86_64 -arch ppc7400 -arch ppc64' CXXFLAGS='-O3 -fno-common -arch i386 -arch x86_64 -arch ppc7400 -arch ppc64' ./configure --disable-dependency-tracking and then… make -j6 and finally… sudo make install libmcrypt is ready - now for the PHP extension… Move back to /SourceCache, then down to php-5.2.6/ext/mcrypt - type… /usr/bin/phpize (phpize should be in /usr/bin - if not g...

InfoThinker创业宣言:We will be the best!

InfoThinker创业宣言:We will be the best! 同喜一下,^_^。 君哥还是这么激情洋溢。 08下半年参与了infothinker几个项目的开发,让我们重新走在了一起。1年的时间可以让大家改变很多, 君哥 在mac和iphone方面继续深造并取得了丰硕的成绩。 kingmax师兄 则是走创业路线,相信技术方面他越来越淡,不过很有销售功底的他一定能在未来走得更好。 我这1年来主要还是投入精力在做公司的事情,虽然做团队管理比较多了,不过自己还是不放弃对技术的追求和对互联网的热衷。自己主要还是集中在php,服务器脚本和优化、维护、架构方面。当然还是比较关注互联网的动态。总体感觉08年互联网的发展缓慢了下来,没有05-07年那么快速,继续观望。。。 09年将逐步转向mac和iphone的开发。

coay.com iphone 专用在线听歌网站

图片
最近开发了一个iphone专用的在线听歌的网站 http://coay.com/ 欢迎有iphone的朋友试用。 功能: mp3搜索 baidu mp3 top100歌曲 通过cookies记录用户播放过的歌曲 查看别人听的歌曲 别人搜索的关键字 考虑到手机输入数据比较麻烦,所以干脆不做用户登陆认证功能。 更新: ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- 找到一款dTunes,可以支持下载。可以跟coay.com完美整合。 配置好后直接点下面search就可以尽情下载了。 点击播放的时候会自动提示是否下载。 下载后在Browse里面可以管理已经下载的mp3文件,然后也可以自己通过创建目录制作播放列表,也解决了连播的问题。 edit状态下是双击文件名可以修改mp3的名称。