随笔分类 - PHP
摘要:1,get方法 $result = file_get_contents($personUrl); 2,post方法,使用querystring,使用json $personUrl="http://www.wacloud.net/open/persion/insert?appid=$doorAppid
阅读全文
摘要:注意网上的教程和你的不一样,如果安装多个php版本,如果安装的宝塔,那么php的文件路径在/www/server/php/55/bin/下面,过程有些不同 下载地址:http://sourceforge.net/projects/php-screw/ tar zxf php_screw-1.5.ta
阅读全文
摘要:wamp和lnmp的血泪经验 wamp和lnmp的血泪经验 wamp和lnmp的血泪经验 一定要区分系统,使用合适的网络服务apahce适合windows,nginx适合linux
阅读全文
摘要:require_once APP_PATH . '/Common/ORG/PHPExcel/PHPExcel.php'; require_once APP_PATH . '/Common/ORG/PHPExcel/PHPExcel/Writer/Excel2007.php'; $objExcel =
阅读全文
摘要:/** 把用户输入的文本转义(主要针对特殊符号和emoji表情) */ function userTextEncode($str){ if(!is_string($str))return $str; if(!$str || $str=='undefined')return ''; $text = json_encode($str); //暴露出unicode ...
阅读全文
摘要:1,php $urlcode="https://api.weixin.qq.com/sns/oauth2/access_token?appid=$this->appidweb&secret=$this->appsecretweb&code=$code&grant_type=authorization
阅读全文
摘要:[XDebug]xdebug.profiler_output_dir="D:\phpstudy\PHPTutorial\tmp\xdebug"xdebug.trace_output_dir="D:\phpstudy\PHPTutorial\tmp\xdebug"zend_extension="D:\
阅读全文

浙公网安备 33010602011771号