从地图上选择,获取地址位置名称:http://developer.baidu.com/map/jsdemo.htm#i7_2从地图上选择,获取地址位置坐标:http://developer.baidu.com/map/jsdemo.htm#h0_4根据IP定位:http://developer.baidu.com/map/jsdemo.htm#i8_2根据城市名定位:http://developer.baidu.com/map/jsdemo.htm#i8_3根据经纬度定位:http://developer.baidu.com/map/jsdemo.htm#i8_4
<?
// ****************************
// microsnow
// 此文件用于快速测试UTF8编码的文件是不是加了BOM,并可自动移除
// 基本于 Bob Shen 的版本,二次开发
// ****************************
$basedir='WWW_PATH'; //修改此行为需要检测的目录,点表示当前目录
$auto=1; //是否自动移除发现的BOM信息。1为是,0为否。
//以下不用改动
read_dir($basedir);
// 遍历目录
function read_dir($di- 阅读剩余部分 -
function convert_c_num($num) {
$a_num = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
$c_num = array('零', '一', '二', '三', '四', '五', '六', '七' ,'八' ,'九');
$j = array(0 => '', 1 =>'十', 2 =>'百', 3 =>'千', 4 =>'万', 5 =>'十', 6=> '百', 7=>'千');
$r = strrev($num);
- 阅读剩余部分 -
当开查询字符串的时候,参数enable_query_strings 为 true 。首页报错An Error Was EncounteredUnable to determine what should be displayed. A default route has not been specified in the routing file.解决办地,修改文件 system/core/Router.php_set_routing 函数内前面加// Load the routes.php file.
if (file_exists(APPPATH.'config- 阅读剩余部分 -
默认的快捷键Ctrl+L 选择整行(按住-继续选择下行)Ctrl+Shift+K 删除整行, ctrl + KK 从光标处删之行尾,Ctrl+K Backspace 从光标处删除至行首Ctrl+Shift+D 复制光标所在整行,插入在该行之前Ctrl+D 选词 (按住-继续选择下个相同的字符串,再按,可跳到相应的方法定义处Ctrl+Shift+M 选择括号内的内容(按住-继续选择父括号)Ctrl+/ 注释整行(如已选择内容,同“Ctrl+Shift+/”效果)Ctrl + alt + / 取消注释Ctrl+Shift+UP 与上行互换 ctrl + shift + up: - 阅读剩余部分 -