|
|
|
| <?
$way= $_REQUEST['forwardlink'];
$sock = fopen ($way, 'r');
if (!$sock){
echo "Не получилось подключиться к $way";
}else{
$html = '';
while (!feof($sock) && (""==$sock)){
$html .= fgets($sock);
}
}
fclose ($sock);
preg_match('/(.*)<!--QuoteEBegin-->(.*)<!--QuoteEnd-->/is', $html, $data);
echo '
<forum action="************8.php" type="GET">
<input type="text" name="forwardlink" value="">
<input type="submit" name="send" value="Отправить">
</form>';
htmlspecialchars($html);
echo "$html";
?>
Почему-то программа не работает. | |
|
|