Method 1, IFrame:
<form method="POST" action="blockchecker.php" target="IFRM1">
User to check:<BR>
<input type="text" name="checkwho"><br>
<input type="checkbox" name="sendmessagetocontact" value="on">Send message if contact is online<br>
<textarea name="messagetocontact" cols="50" rows="4">If you want to send a message if the contact is online, enter the message here(600 letters)</textarea><br>
Anonymous Name:<br>
<input type="text" name="messagetocontactname" value="Anonymous"><br>
<input type="submit" value="Check!">
</form>
<iframe name="IFRM1" height="0" width="0" SRC="about:blank" vspace="0"></iframe>
Method 2, PHP Include (recommended)
<form method="POST" action="<?php print $_SERVER[REQUEST_URI]; ?>">
User to check:<BR>
<input type="text" name="checkwho"><br>
<input type="checkbox" name="sendmessagetocontact" value="on">Send message if contact is online<br>
<textarea name="messagetocontact" cols="50" rows="4">If you want to send a message if the contact is online, enter the message here(600 letters)</textarea><br>
Anonymous Name:<br>
<input type="text" name="messagetocontactname" value="Anonymous"><br>
<input type="submit" value="Check!">
</form><br><?php include('blockchecker.php'); ?>
Note: if you use the include method, bc-config.php (setup generated file) will have to be in the same directory as the file that includes blockchecker.php
Link to us:
you are required to place this button link on your page
<a href="http://phpmybc.sourceforge.net" target="_blank">
<img src="http://phpmybc.sourceforge.net/mybc.gif" border="0" alt="Powered by phpMyBlockchecker">
</a>