?? proxy.php
字號:
<?php// Open the Curl sessionif (!$_POST['url']) exit;$session = curl_init(($_POST['url']));$postvars = file_get_contents('php://input');// Don't return HTTP headers. Do return the contents of the callcurl_setopt($session, CURLOPT_HEADER, false);curl_setopt($session, CURLOPT_RETURNTRANSFER, true);// Make the call$response = curl_exec($session);//header("Content-Type: text/html; charset=utf-8");header("Content-Type: application/xml;");// expects a json response and filters itecho "/*" . $response . "*/";curl_close($session);?>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -