最新 分享

Publish our news and thoughts with all.

Popular Articles

Recent Stories

ubuntu 16.04升级php7.0至7.2

There is no translation available.

直接命令升级 1. apt-get update && apt-get upgrade 2. apt-get install software-properties-common 3. add-apt-repository ppa:ondrej/php 4. apt-get update 5. apt-get upgrade php

微信小程序内嵌web-view并实现小程序支付的几个坑

There is no translation available.

最近实现了微信小程序web-view内嵌Joomla商城并实现小程序支付。

记录一下几个坑(折腾了很久才搞通)

微信小程序开发|获取openid

There is no translation available.

  • 我们在使用小程序wx.login API进行登录的时候,直接使用wx.getUserInfo是不能获取更多的信息的,如微信用户的openid。 
    官方提示,需要发送获取到的code进行请求到微信的后端API,进行用户解密之类的操作才可以获取,

微信小程序编辑器报错:enablePullDownRefresh 字段需为 boolean

There is no translation available.

把explore.json中
{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "最新相册",
"navigationBarTextStyle":"black",
"enablePullDownRefresh":"true"
}

用ChromePhp做Joomla调试

There is no translation available.

require_once(JPATH_BASE."/ChromePhp.php");

MAMP 选择php版本

There is no translation available.

MAMP默认控制面板只能选择2个php版本,如果要设置更低(更老)的版本,可以采用以下方法

小程序如何生成带参数二维码?

There is no translation available.

许多小程序开发者,都需要获取进入小程序不同页面的二维码:包括常见的四方形「QR 码」和新推出的「小程序码」。
这时候,我们直接在小程序后台中获取到的二维码,就远远无法满足我们以上需求了。贴心的是,微信提供了「获取小程序二维码」的接口

How to Install a LAMP Stack on Ubuntu 16.04

There is no translation available.

A LAMP (Linux, Apache, MySQL, PHP) stack is a common, free and open-source web stack used for hosting web content in a Linux environment. Many consider it the platform of choice on which to develop and deploy high-performance web apps.

This guide shows how to install and test a LAMP stack on Ubuntu 16.04 (LTS).