PHP/HTML/http build query
Building a query string with http_build_query()
<source lang="html4strict">
<?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); ?>
</source>