JIALIZ

simple is best

PHP实现列表的二级联动

Continue Reading… »

PHP分页功能的实现

Continue Reading… »

PHP数组与对象互相转换

Continue Reading… »

PHP获得一个web地址中的页面内容

如题,要通过传参数访问一个网址,从而得到访问后的页面内容,方法如下:

1
2
3
4
$url="http://xxxxx.php?xxx=123";
$recentContent = file_get_contents($url);
$recentGroups = @json_decode($recentContent,true);
print_r($recentGroups);
1 / 4123...Last »

QR Code Business Card