多窗口打开多个文件vim -o file1 file2 ... ---- 默认上下分割窗口vim -0n file1 file2 ... ---- vim默认会上下等分n个窗口分割窗口:[v]split file ---- 以横向分割(带v)或纵向分割当前窗口打开文件(等比分割):[n][v]spl...
首先解決file_get_contents的超時問題,在超時返回錯誤後就象js中的settimeout那樣進行一次嘗試,錯誤超過3次或者5次後就確認為無法連線伺服器而徹底放棄。這裡就簡單介紹兩種解決方法:一、增加超時的時間限制注意:set_time_limit只是設定你的PHP程式的超時時間,而不是...
分类:
其他好文 时间:
2014-09-24 02:50:45
阅读次数:
195
启动MySQL后,几秒钟后直接报错了然后在事件查看器中发现了几条错误信息Can't start server: Bind on TCP/IP port: No such file or directoryDo you already have another mysqld server runnin...
分类:
数据库 时间:
2014-09-24 01:55:45
阅读次数:
365
php测试文件 <?php header("Content-type:text/html;charest=utf-8"); $fileDir=‘Upload/File/content.txt‘; echo ‘文件路径:‘.$fileDir.‘<br/>‘; echo ‘路径目录|dirname():‘.dirname($fileDir).‘<br/>‘; echo ...
分类:
Web程序 时间:
2014-09-24 01:52:45
阅读次数:
205
deb是debian linus的安装格式,跟red hat的rpm很类似,最主要的安装命令是:dpkg -i file.deb dpkg 是Debian Package的简写,是为Debian 专门开发的套件管理系统,方便软件的安装、更新及移除。全部源自Debian的Linux发行版都使用dpkg...
分类:
其他好文 时间:
2014-09-24 01:33:55
阅读次数:
196
1. Now add one more menu item to by name "PersonForm" to your PracticeMenus.xml file.2. Create one file in widget by name PracticeForms.xml and create...
分类:
其他好文 时间:
2014-09-24 01:29:55
阅读次数:
359
/usr/local/php/sbin/php-fpm 却无法启动,提示错误:ERROR: failed to load configuration file '/usr/local/php/etc/php-fpm.conf'ERROR: FPM initialization failedcd/us...
分类:
Web程序 时间:
2014-09-24 00:39:25
阅读次数:
255
dedecms的数据库操作类,非常实用,在二次开发中尤其重要,这个数据库操作类说明算是奉献给大家的小礼物了。引入common.inc.php文件1require_once(dirname(__FILE__) . "/include/common.inc.php");获取一条记录的内容12$row= ...
分类:
数据库 时间:
2014-09-24 00:33:45
阅读次数:
276
1.查看linux具体版本号信息 file /sbin/init2.下载相应nmon版本号http://pkgs.repoforge.org/nmon/3.安装rpm -ivhnmon-14f-1.el5.rf.i386.rpm4.採集数据1)./nmon_x86_rhel52 -s10 -c60....
分类:
系统相关 时间:
2014-09-23 22:33:15
阅读次数:
270
启动SVN时候报了错误,然后查看日志发现报了如下错误VisualSVNServer.exe: could not log pid to fileC:/Windows/ServiceProfiles/NetworkService/AppData/Local/Temp/VisualSVNServer.p...
分类:
其他好文 时间:
2014-09-23 22:32:35
阅读次数:
139