08 2018 档案
摘要://证书加密需要传的参数 字符串 证书地址 证书密码! function sign($data,$pfxpath,$pfxpwd) { $certs = array(); openssl_pkcs12_read(file_get_contents($pfxpath), $certs, $pfxpwd
阅读全文
摘要:控制器 <?phpnamespace app\index\controller; use think\Db; class Index{ public function userlist() { $list=Db::name('users')->paginate(10,false, [ 'type'
阅读全文
摘要:// 如果有HTTP_X_WAP_PROFILE则一定是移动设备
if (isset ($_SERVER['HTTP_X_WAP_PROFILE']))
{
return true;
}
阅读全文
摘要:sql 文件导入数据时,不能从高版本的数据到低版本的数据库。
阅读全文
摘要:配站点域名比如 http://www.qoke.com D:\phpStudy\WWW\qoke 配资vhosts.conf 在phpstudy 打开配置文件里面 在里面加个 <VirtualHost *:80> DocumentRoot "D:\phpStudy\WWW\qoke" ServerN
阅读全文

浙公网安备 33010602011771号