Thoughts on People, Politics, Science, Technology, Movies, Music, and More. Habari is a sufficiently complex PHP application that sometimes the only way to figure out what is going on is to fire up a debugger. Following a suggestion on #habari and some google searching, I found an article on the Box.net blog on using XDebug with vim. The instructions were for a linux box, and I initially struggled
「PHPで正しいメールアドレスかどうか調べる」ではMXレコードを求めるのに組み込み関数 getmxrr を使ったが、PHPバージョン4ではWindows用に実装されていない。 そこで、PEAR::Net_DNS を使うことにする。 このPEARパッケージは癖があり、今回は Net_DNS 1.0.1 を利用することにする。 0025: /** 0026: * getmxrrの代替関数 0027: * @param string $hostname ホスト名 0028: * @param string $mxhosts 見つかったMXレコードのリスト 0029: * @return stringエラーメッセージ/'':成功 0030: */ 0031: function my_getmxrr($hostname, &$mxhosts) { 0032: $resolv
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く