PHP 配列から空白要素を削除する 2010年02月20日 過去Blog 配列 $array_exampleの要素のなかで、空白のものを削除。 $array_example = array_filter($array_example, ‘strlen’);
xcodeでメモリリークを簡単に調べる方法 2011年03月03日 過去Blog 以下のサイトにあるようなことが出来るらしい。 http://www.lastday.jp/2011/03/01/memory-leak-xcod やったことないので、今度やってみようと思います。
phpでwhois情報の取得 2009年12月26日 過去Blog Net_Whois::query() – whois 問い合わせを実行する pear install Net_Socket pear install Net_Whois もし、「WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update」 という警告が出る場合は、以下を実行して、pear.php.netをアップデートします。 # pear channel-update pear.php.net 私の場合は、警告は出ましたが、アップグレードしなくても pear install Net_Socket pear install Net_Whois のインストールは完了しました。 … この記事の続きを読む
UITextField と UITextView のキーボード関連 2011年04月28日 過去Blog http://www.toyship.org/2011/03/uitextfielduitextview%E3%81%AE%E6%96%87%E5%AD%97%E5%85%A5%E5%8A%9B%E3%81%A7%E8%A6%9A%E3%81%88%E3%81%A6%E3%81%8A%E3%81%8F%E3%81%A8%E4%BE%BF%E5%88%A9%E3%81%AA%E3%81%93%E3%… この記事の続きを読む
PHP strstr stristr ある文字列が含まれるかどうか調べる 2010年06月11日 過去Blog $string = 'Hello World!'; if(stristr($string, 'earth') === FALSE) { echo '"earth" not found in string'; } // 出力は "earth" not found in string となります 参照元:http://www.php.net/manual/ja/function.st… この記事の続きを読む
PHP サーバの空き容量、ディレクトリ内のファイル一覧を調べる 2010年08月11日 過去Blog //ファイル一覧を表示するパスを指定する $path = "../member"; //ディレクトリを表示する print("ディレクトリ「".$path."」の一覧"); //文法 disk_free_space( パス ) //disk_free_spaceは指定したパスに対応するドライブの空き容量をバイト数で //返す print("ドライブの空き容量 ".disk_free_spac… この記事の続きを読む
この投稿へのコメント
コメントはまだありません。