任何人都可以告诉我为什么以下网址会返回406错误:
http://kolek.to/functions/remote-upload.php?url=http%3A%2F%2Fben-major.co.uk%2Fhosting%2Fbm-equipment%2Faxe-2.jpg&item_id=2
删除?url=
参数似乎可以使一切正常:
http://kolek.to/functions/remote-upload.php?item_id=2
供您参考,remote-upload.php
的内容如下:
<?php
require_once('../models/api.php');
$request_url = urldecode($_REQUEST['url']);
$item_id = $_REQUEST['item_id'];
echo $item_id;
?>