PHP将URL转换成短网址的算法分享