i need to integrate a available domain checker in my php email form. but this seems to be complex for me as i am a beginner in PHP coding. i want to integrate it in a text field, like this:
<input type="text" name="domainname" />
so, a user can check for a available domain name through my email form, then they will submit.... if you take time and code it, i will be grateful to you! thanks in advance. Here is my email form's code:
<?php
$ipi = getenv("REMOTE_ADDR");
$httprefi = getenv ("HTTP_REFERER");
$httpagenti = getenv ("HTTP_USER_AGENT");
?>
<input type="hidden" name="ip" value="<?php echo $ipi ?>" />
<input type="hidden" name="httpref" value="<?php echo $httprefi ?>" />
<input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" /><b title="Write Your Real Name In Below Box">Your Name</b><br><input class="cform" width="270px" type="text" name="name" maxlength="45"/><br><b title="Please Write Your Country Name, Street Location as You Can Describe">Your Location</b><br><input class="cform" type="text" name="loc" width="270px" maxlength="45"/><br><b title="Your Phone Number With Country Code">Phone</b><br><input class="cform" type="text" name="pho" width="270px" maxlength="45"/><br><b title="Your Own Email Address">E-mail Address</b><br><input class="cform" type="text" name="email" width="270px" maxlength="45"/><br>
<b title="Write Your Skype Username">Domain Name </b><br>
<input class="cform" type="text" name="domainname" width="270px" maxlength="45"/><br>
<b title="Write here about your thought, ideas or any query">Msg:</b><br>
<textarea class="cform" name="notes" "rows="7" cols="23"></textarea><form>
<div align="center">
<input type="submit" value="Send" style="font-size: 25pt; color:#51B2B8" />
</div>
</form>
rakib