mne nado pri registratsii den mestyast god postavit nado!
Kakoy kod vipisat ? John 3.2.2
echo'<input type="text" size="45" value="'.$home.'/forum/index.php?act=post&id=' . $res['id'] . '"></input>';
$full_url = ( $_SERVER['SERVER_PORT'] == '443' ) ? 'https://' : 'http://';
$full_url .= $_SERVER['SERVER_NAME'] . $_SERVER['PHP_SELF'] . '?' . http_build_query($_GET);
echo'<input type="text" size="50" value="'.$full_url. '"></input>';
<?php
echo '<a href="index.php?act=post&id=' . $res['id'] . '"><b>Пост</b></a> ';
?>