Category: ThinkPHP 3.2.3 Beta

网页直传测试成功 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: 11 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...

S_SESSION在.xxx.com中的共用打印结果 0

The realization of the login status synchronization based on Session under ThinkPHP 3.2.3beta version, and the notification of login and logout is sent based on UCenter

Post Views: 5 Because passport.xxx.com and soft.xxx.com are two secondary subdomains of xxx.com, in the case of both processing exit status, the Send a synchronization login notification through ucenter to realize login, but in...

如果勾选自动登录,则设置COOKIE['autologin'] 0

Thinkphp3.2, by default, the system will automatically start the session after initialization, and the implementation of automatic login within two weeks

Post Views: 7 Because the session has been automatically started, the session initialization setting has not been implemented; resulting in ini_set(session.gc_maxlifetime,   $name[‘expire’]);ini_set(session.cookie_lifetime,  $name[‘expire’]), and none of them can be set, so the session can...