PHP/HTML/http build query
Версия от 10:37, 26 мая 2010; (обсуждение)
Building a query string with http_build_query()
<?php
$vars = array("page" => 4, "search" => "this & that");
$qs = http_build_query($vars);
$url = "http://www.example.ru/search.php?" . $qs;
$page = file_get_contents($url);
?>