Latest Share

Publishing the latest news and ideas for you

Popular Articles

Recent Stories

Pingback和Trackback的区别

There is no translation available.

Trackback我们都知道是自己在自己的Blog上撰文回应别人的文章,那么别人的文章的回复中会有trackback from的字样.但是我很早又注意到有trackback和pingback之分,在很多Blog的回复都看到除了comments(回复)外,还有trackback和pingback,但一直不清楚这两者有什么区别,如何才是Pingback呢?

Apache header cookie设置

There is no translation available.

# a2enmod expires
# a2enmod deflate

# vi /etc/apache2/sites-available/example.com.conf # gzip html, css and js AddOutputFilterByType DEFLATE text/html text/css application/x-javascript application/javascript

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版本,如果要设置更低(更老)的版本,可以采用以下方法