随笔分类 - php
摘要:[转http://blog.csdn.net/Pompeii/article/details/19950811] call to undefined function mb_convert_encoding in。。。 在网上找了一些解决方法,基本上都是windows下的php解决方法。 在php.
阅读全文
摘要://登录用的curl $curlPost = 'username=admin&password=123456'; 数据 $tmp = tempnam('./tmp', 'login'); //存储的临时地址 $ch = curl_init(); curl_setopt($ch, CURLOPT_HE
阅读全文
摘要:[转载] A PHP Error was encountered Severity: Notice Message: Only variable references should be returned by reference Filename: core/Common.php Line Num
阅读全文
摘要:PHP $this->ci_smarty->assign('templet_ids', array( '1', '2', '3' )); $this->ci_smarty->assign('templet_types', array(lang('templet_type_one'), lang('t
阅读全文
摘要:工作中遇到需要在smarty模板中引入一个php文件 在普遍php文件中一般直接用include 'a.php'; samrty模板中同样可以使用只是格式稍微有些不同 <{include file="<{$smarty.const.BIANLIANG}>/game.a.php" template_t
阅读全文
摘要:一个星期同时出现两次这种错误,老忘记,作下记录加深记忆 出现错误的原因的在select查询中 where条件出现错误 查询不出错误 若还有其他种原因也请告知,谢谢
阅读全文
摘要:定义数据 $config = array( 'protocol' =>'smtp', 'smtp_host'=>'ssl://smtp.163.com', 'smtp_user'=>'zhouddxg@163.com', 'smtp_pass'=>'***********', 'smtp_port'
阅读全文
摘要:fetch 取得输出的内容 返回一个模板输出的内容(HTML代码),而不是直接显示出来,需要指定一个合法的模 板资源的类型和路径。你还可以通过 第二个可选参数指定一个缓存号,相关的信息可以查看缓存。 通过第三个可选参数,可以指定一个编译号。这在你想把一个模板编译成不同版本时使用,比如针对不同的语言编
阅读全文

浙公网安备 33010602011771号