#ifndef __AGDI__INCED___ #define __AGDI__INCED___//---Revision History: ----------------------------------------------// 17.10.2000, added AG_SYM_S...
分类:
其他好文 时间:
2014-09-18 16:13:44
阅读次数:
1069
java实现发邮件的工具类,方便 好用(需要架包的Send Email To me) 源代码下载地址:http://www.zuidaima.com/share/1550463394794496.htm...
分类:
编程语言 时间:
2014-09-18 13:22:43
阅读次数:
224
header('Content-type:text/html;charset=utf-8');function cutstr($str){ #计算$str的字符个数 preg_match_all("/./u", $str, $len); $strlen = (int) count(...
分类:
其他好文 时间:
2014-09-18 12:51:33
阅读次数:
177
$host = array("Host: act.qzone.qq.com");// 域名不帶http://$data = array( 'aa' => 'xx', 'bb'=>'xx' ); $url = 'http://127.0.0.1/xxx/xxx/api/';var_dump(...
分类:
Web程序 时间:
2014-09-18 11:18:43
阅读次数:
278
ofibz登陆功能有通过电子邮件找会密码的功能,但找回密码功能需要配置一个发送email的邮箱账号和smtp服务器的配置,具体配置如下:1:在ofbiz数据库的表product_store_email_setting中找到from_address字段,将该字段中值全部修改成配置的默认发送账号2:在g...
分类:
其他好文 时间:
2014-09-18 00:39:12
阅读次数:
351
SelectUser(int UserId)SelectUserByName(string username)SelectUserByName(string username,string password)SelectUserByEmail(string email)SelectUserByEma...
分类:
其他好文 时间:
2014-09-17 23:16:22
阅读次数:
189
web开发中经常遇到一些很奇怪的问题,例如,发现了问题,改了脚本,结果发布后,问题依然存在,但在服务器上一看,发布的脚本确实改了!!最后才发现,是浏览器缓存在作怪!!
现在讨论几种清除浏览器缓存的方法。
一种原理是HTTP Header 参数Cache-Control来清空缓存,另一种是利用URL上添加查询字符串来欺骗浏览器强制从服务端读取数据,避免缓存。...
分类:
其他好文 时间:
2014-09-17 15:17:52
阅读次数:
219
下面代码动态设置浏览器文档模式HtmlHead head = (HtmlHead)Page.Header; HtmlMeta contentType = new HtmlMeta();//显示字符集的设定 设定页面使用的字符集 contentType.Http...
分类:
Web程序 时间:
2014-09-17 15:03:52
阅读次数:
167
SQLite header and source version mismatch 解决方案
分类:
数据库 时间:
2014-09-17 14:57:32
阅读次数:
220
ob_start();setcookie("username","test",time()+3600);echo "the username is:".$HTTP_COOKIE_VARS["username"]."\n";echo "the username is:".$_COOKIE["username"]."\n";print_r($_COOKIE);?>访问该PHP文件时提示Warning:...
分类:
Web程序 时间:
2014-09-17 13:40:52
阅读次数:
229