Add your links!
As usual, you can expect upgrades in the near future...
$author=$_POST['author'];
if (isset($author)){
if ($_POST['link']=='http://www.example.com/this_is_only_an_example!'){
echo 'Please at least change the link a little bit!
';
}
else {
$query=mysql_query('insert into link_add (id,ip,link,author,type)
values (\'\',\''.$_SERVER['REMOTE_ADDR'].'\',\''.$_POST['link'].'\',\''.$author.'\',\''.$_POST['type'].'\')');
if (!$query){echo 'mysql_error No. 10'.mysql_error();}
echo 'Thanks, your link has been submitted!
';
}
}
?>