
PHP
文章平均质量分 62
ahyswang
热爱编程,更热爱生活
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
PATH_INFO
PHP中的全局变量$_SERVER['PATH_INFO']是一个很有用的参数,众多的CMS系统在美化自己的URL的时候,都用到了这个参数。对于下面这个网址:http://www.test.com/index.php/foo/bar.html?c=index&m=search我们可以得到 $_SERVER['PATH_INFO'] = ‘/foo/bar.html’,而此时转载 2013-04-26 09:15:45 · 358 阅读 · 0 评论 -
PHP脚本监控程序
#!/bin/sh# Find ipIP=`/sbin/ifconfig eth1 | grep 'inet addr' | awk '{ print substr($2, index($2, ":")+1)}'`#monitor procname scriptnamemonitor(){ procname=$1 scriptname=$2 # Find proc by p原创 2014-10-12 09:16:48 · 1091 阅读 · 0 评论