要耐住寂寞-20111129
- <?php
- require(“../ThinkPHP/ThinkPHP.php”);
- App::run();
- ?>
下载XDebug
http://www.xdebug.org/find-binary.php
eclipse php xdebug
http://rangyang163.blog.163.com/blog/static/377437582011821112056254/
http://hi.baidu.com/honfei/blog/item/1b5aca43384ab40d9213c653.html
http://www.cnblogs.com/yeer/archive/2010/04/07/1706407.html
http://apps.hi.baidu.com/share/detail/15013016
http://dev.21tx.com/2008/11/08/11432_1.html
PHP-ExcelReader,下载地址: http://sourceforge.net/projects/phpexcelreader
说明:
测试环境:MYSQL数据库采用utf8编码.导入EXCEL文档是xls格式,经过测试,xlsx 格式[excel 2007]也OK.
文中红色标注为需要注意的地方,请替换成你配置好的数据,如数据库配置等。运行http://localost/test.php实现导入。
以下是我贴出的详细代码,其中test.php为我写的测试文件,read.php和oleread.inc文件是从上面提供的网址中下载的。 Read more >>>
function shc_filter_plugin_actions($links, $file){
static $this_plugin;
if( !$this_plugin ) $this_plugin = plugin_basename(__FILE__);
if( $file == $this_plugin ){
$settings_link = '<a href="options-general.php?page=syntax-highlighter-compress.php">' . __('Settings') . '</a>';
$links = array_merge( array($settings_link), $links); // before other links
}
return $links;
}