MyBB Community Forums

Full Version: Link Checker
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how to add this code in mybb to work

PHP Addon (If your website supports PHP, add this code anywhere in your website)

<?php
$lcurl = 'http://wgtools.com/link-checker/?url=' . urlencode($_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']);
$wglc = '<a href="' . $lcurl . '"><strong>Check Download Links</strong></a>';

echo $wglc;

HTML Form Addon (Place this HTML form code in any page on your website)

<form action="http://wgtools.com/link-checker/" method="post">
<textarea style="border: 1px solid #9d9d9d; background-color: #d3d3d3; color: #000;" rows="10" cols="45" name="links"></textarea><br />
<div style="margin-top:4px;">
<input style="padding: 2px;" type="submit" value="Check Links" name="submit" />
</div>
</form>