永夜 Blog

以http://www.hprose2.com/http_client.php为客户端,运行结果,报错:Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. 0

HProse for PHP reports an error under PHP5.6: Automatically populating $http_raw_post_data is deprecated and will be removed in a Future version. Solution

Post Views: 40 1. Open: https://github.com/hprose/hprose-php/blob/master/readme_zh_cn.md, download hprose for php; 2. Take http://www.hprose1.com/http_server.php as the server, and the running result is shown in Figure 1: 3. Take http://www.hprose2.com/http_client.php as the client, the running result...

网页直传测试成功 0

Integrate the PHP-SDK2.0.4 of Alibaba Cloud OSS in OneThink (ThinkPHP3.2.3) to realize direct transfer on the web side, direct transfer of the server signature and set the implementation process of uploading callbacks

Post Views: 14 1. In OneThink (ThinkPHP3.2.3), integrate the PHP-SDK2.0.4 of Alibaba Cloud OSS to realize direct transfer on the web, and the server-side signature is directly transmitted and uploaded callbacks, provided that you...

编辑上传文件方法upload 0

Integrate the PHP-SDK2.0.4 of Alibaba Cloud OSS in OneThink (ThinkPHP3.2.3) to realize the local file upload process

Post Views: 57 1. SDK installation github address: https://github.com/aliyun/aliyun-oss-php-sdk 2. Copy aliyun-oss-php-sdk-master\src\oss to passport.hmwis.com\thinkphp\library\vendor\oss, as shown in Figure 1 and 2 3. Register a new namespace OSS and edit the file passport.hmwis.com\application\common\conf\config.php, as shown...

让其支持多个网站的统计 0

AWSTATS7.4 installation and configuration under Windows 10 64 bit to support log analysis of Apache 2.4

Post Views: 50 1. The installation and configuration of awstats7.4 under Windows 10 64 bit to support the log analysis of Apache 2.4; 2. Install Perl, open: https://www.perl.org/, as shown in Figure 1, under...

编辑UCenter_1.6.0_SC_UTF8/model/base.php 0

Enable the MySQL enhanced extension under UCenter_1.6.0_sc_utf8, that is, the mysqli extension

Post Views: 9 1. Copy Discuz_x3.2_sc_utf8/upload/uc_server/lib/dbi. class.php to ucenter_1.6.0_sc_utf8/lib/dbi.class.php 2. Edit ucenter_1.6.0_sc_utf8/model/base.php function init_db() { //require_once uc_root.lib/db.class.php; if(function_exists(“mysqli_connect”)) { require_once UC_ROOT.lib/dbi.class.php; } else { require_once UC_ROOT.lib/db.class.php; } $this->db = new ucserver_db(); $this->db->connect(uc_dbhost, uc_dbuser, uc_dbpw,...