摘要:Apache服务器.htaccess伪静态设置RewriteEngine on RewriteCond $1 !^(index\\.php|system\\.php|images|skin|js|ls|swfupload|attachment|application|robots\\.txt) RewriteRule ^(.*)$ /fx/index.php/$1 [L]Nginx服务器伪静态设置location / { root /var/www/html/; index index.html index.htm index.php; if ...
阅读全文
摘要:版本:dedeCMS 5.7在【远程服务器同步向导】选择【更新选择】后,提示无法连接错误。原因就是我不是使用默认的端口,而源码却没有把端口参数传进FTP里。以下,我们一起来修改源码,把端口参数传进去。第一步,打开/admin/config.php213行$select.="<option value='".$servurl.",".$servuser.",".$servpwd."'{$checked}>".$servname."</option>";修改为
阅读全文
摘要:版本:dedeCMS 5.7DedeCMS Error Warning!Technical Support: http://bbs.dedecms.comError page: /xx/makehtml_list_action.php?typeid=0&maxpagesize=50&upnext=1&isremote=1&serviterm=xxxError infos: 不存在源文件解决方法:找开/include/arc.listview.class.php文件第338行$localfile = '..'.$remotefile;修改为,去掉.
阅读全文
摘要:javascript:function toRadians(degree) {return degree * Math.PI / 180;}function distance(latitude1, longitude1, latitude2, longitude2) {// R is the radius of the earth in kilometersvar R = 6371;var deltaLatitude = toRadians(latitude2-latitude1);var deltaLongitude = toRadians(longitude2-longitude1);la
阅读全文
摘要:自定义域名:myhost.comwindows版本:win7iis版本:iis7.xvs版本:vs2010现在开始动手设置了:一、修改host文件在系统盘中的如下路径C:\WINDOWS\system32\drivers\etc去掉只读权限,使用记事本打开,在最后一行添加:127.0.0.1 myhost.com保存,关闭。二、测试自定义域名方法1、开始,运行,输入cmd,打开cmd后输入ping myhost.com 回车C:\Users\xxx>ping myhost.com正在 myohost.com [127.0.0.1] 具有 32 字节的数据:来自 127.0.0.1 的回复
阅读全文
摘要:一 Google Chart Tools官网:https://developers.google.com/chart/谷歌图表工具提供了一个完美的方式形象化您的网站上的数据。从简单到复杂的层次结构树图线图,图表厨房提供了大量精心设计的图表类型。填入您的数据很容易被使用所提供的客户端和服务器端工具。在线示例:https://developers.google.com/chart/interactive/docs/examples在线文档:http://code.google.com/apis/ajax/playground/?type=visualization注:以上链接可能被和谐,怎么浏览,
阅读全文