Kód: Vybrať všetko
<html>
<head>
<title><?php if(isset($_POST["button"])) { echo ucfirst($_POST["search"]); } ?> </title>
<style type="text/css">
</style>
</head>
<body>
<form method="post" action="">
<table align="center" width="600" ><tr><td>
<input type="text" size="40" name="search" <?php if(isset($_POST["button"])) { echo "value=\"".$_POST["search"]."\""; } ?> id="search" />
<input type="submit" name="button" id="button" value="Hladaj.net" />
</td></tr><tr><td>
<?php if(isset($_POST["button"])) {
$search=str_replace(" ", "+", $_POST["search"]);
echo implode("", file("http://www.******.**.php?search=".$search.""));
} ?>
</td></tr></table></form>
</body>
</html>Prepáčte mi tú cenzúru