$value) { $url .= $key . "=" . $value . "&"; } $options = array( 'http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'TEST', 'content' => http_build_query($_GET), ), ); $context = stream_context_create($options); $result = file_get_contents($url, false, $context); echo $result; echo " "; echo " "; print_r($_GET); print_r($options); echo $url . '
'; var_dump($_GET["url"]); ?>