- <?php
- $searchUrl = 'http://203.156.244.227:80/cgi-bin/get_score.fcgi?content=';
- if(!empty($_GET['content']))
- {
- $searchUrl .= $_GET['content'];
- }
- echo file_get_contents($searchUrl);
- ?>
php处理get请求,返回json
猜你喜欢
转载自blog.csdn.net/young_gao/article/details/80193921
今日推荐
周排行