PHP 表示中のURLをサブドメインまで取得する 2010年08月06日 過去Blog URL • サブドメイン • 表示中 $_SERVER[‘HTTP_HOST’] 参考サイト:http://ambiesoft.ddo.jp/blog/archives/580
WordPressの記事中でphpを使うスクリプト 2009年11月24日 過去Blog http://www.nosq.com/blog/2006/01/runphp-plugin-for-wordpress/ http://bono.s206.xrea.com/2006/03/112-runphp/ Zencartにも応用できる?
PHP 小数点の管理 round 2010年06月02日 過去Blog 小数点以下第2位で四捨五入 $num2 = round($num1,2); echo $num2; これで$num2は小数点第二位まで表示されます。(12.22、5053.35など)
サーバの負荷(メモリ使用量を調べる)sar -r 2010年03月31日 過去Blog sarコマンドを利用するために必要なシステムをインストール # yum install -y sysstat phpでデータを抜き出す $pp = popen('/usr/bin/sar -r 1 1', 'r'); while(!feof($pp)): var_dump(fgets($pp)); endwhile; pclose($pp); $pp = popen('/usr/bin/… この記事の続きを読む
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%… この記事の続きを読む
htmlファイルでphpを動かすための.htaccessファイルの設定 2009年11月20日 過去Blog htmlファイルでphpを動かすための.htaccessファイルの設定 .htaccessファイル内に以下の行を記述します。 AddType application/x-httpd-php .htm .html 当然の前提条件として、htaccessの動作が許可されているサーバに限ります。… この記事の続きを読む
この投稿へのコメント
コメントはまだありません。