©2009 Bubaweb.com -
SEO mini-portal home -
Terms of Use -
Privacy Policy
<?php
if(!isset($_POST['submiting']) || !$_POST['link_to_use'] || !$_POST['full_name'] || !$_POST['email'] || !$_POST['reciprocal_url'])
{
?>
<form method='post' id='form'>
<strong>Your link</strong>: write down the HTML with the link you want us to use.<br />
<textarea name='link_to_use'><?php echo $_POST['link_to_use']; ?></textarea><br /><br />
Your name is?<br />
<input type="text" name='full_name' value="<?php echo $_POST['full_name']; ?>"/><br /><br />
Email for important contact:<br />
<input type="text" name='email' value="<?php echo $_POST['email']; ?>"/><br /><br />
Your URL where <u>our link</u> have been placed:<br />
<input type="text" name='reciprocal_url' value="<?php echo $_POST['reciprocal_url']; ?>"/><br /><br />
<input type="submit" name='submiting' value="Submit link exchange request" class="button" />
</form>
<?php
}
else
{
include_once("exchangeLinks.class.php");
#----------------------------------------------------------------------------------------------
foreach ($_POST as $k=>$v){ $_POST[$k]=addslashes($v); }
header("Content-type: text/xml");
$exchangeLinks=new exchangeLinks($_POST);
echo $exchangeLinks->sent_exchange_request();
exit;
}