摘要: apache 安装路径 /etc/httpd/conf.d/httpd-vhosts.conf httpd-vhosts.conf 详情况 #端口 NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin qq@qq.cn DocumentRoot "/ 阅读全文
posted @ 2018-10-08 16:46 圈圈无敌 阅读(894) 评论(0) 推荐(0) 编辑
摘要: 备份MYSQL 数据库 mysqldump -u root -p sugarpro7820>/alidata/www/crm.sugar-crm.cn/7822.sql 还原数据库 mysql -u root -p sugarpro7820</alidata/www/crm.sugar-crm.cn 阅读全文
posted @ 2017-10-25 10:43 圈圈无敌 阅读(131) 评论(0) 推荐(0) 编辑
摘要: zip 压缩命令 zip -r -9 test.zip test/ -x=*.tar.gz -r 文件下所有的目录以文件 - 9 ~1 压缩比 -x 排除文件 zip 解压命令 unzip test.zip -d unzip_file -d 指定解压目录 查看压缩包 unzip -l test.zi 阅读全文
posted @ 2017-05-25 14:11 圈圈无敌 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 1. Go to :/usr/bin 2. Install the PEAR soap : pear install SOAP pear install soap-beta 3. Install the Net_Dime: pear install Net_DIME 4. reboot the se 阅读全文
posted @ 2017-05-17 17:45 圈圈无敌 阅读(159) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-05-17 16:31 圈圈无敌 阅读(8) 评论(0) 推荐(0) 编辑
摘要: function pages($sql, $pagedir, $page = 1, $count, $pagesize = 10) { global $adb; $pagecode = ''; $page = intval($page); $count = intval($count); if (!$count) return ''; $pagecount = ceil($count /... 阅读全文
posted @ 2017-05-17 15:30 圈圈无敌 阅读(121) 评论(0) 推荐(0) 编辑
摘要: <?php ini_set('display_errors', 0 );error_reporting( 0 );date_default_timezone_set('UTC'); require_once("../config.php");if ( empty( $sugar_config['db 阅读全文
posted @ 2017-05-17 09:25 圈圈无敌 阅读(283) 评论(0) 推荐(0) 编辑
摘要: function export_excel () { $title = $_REQUEST['title']; $title_data = $_REQUEST['title_data']; $sql_para = $_REQUEST['sql_para']; $title_data_arr = ar 阅读全文
posted @ 2017-05-17 09:12 圈圈无敌 阅读(199) 评论(0) 推荐(0) 编辑
摘要: /* $sql: SQL 语句 $pagedir : 分页点击跳转地址 $page 当前页 $count 数据总数 $pagesize 每页显示条数 */ function page( $sql, $pagedir, $page = 1, $count, $pagesize= 10) { $page 阅读全文
posted @ 2017-05-17 08:49 圈圈无敌 阅读(370) 评论(0) 推荐(0) 编辑