View Single Post
  #30  
Old 09-24-2007, 11:45 PM
Lalolyen
Banned
 
Join Date: Aug 2007
Location: Sneeking up behind a admin IRL
Posts: 169
Default

Simple instructions...

1. Upload the files in the zip to the directory where the wiki registration page is from http://emu.norrath.info/upload_files.zip

2. Check the form submit, and in the php file that the wiki submits to.. add the following:

Code:
require_once("securimage.php");
$img = new Securimage();
$valid = $img->check($_POST['code']);
3. Wrap the if condition around the entire php code that acceps the form data:

Code:
if ($valid == "true") {
wraping code here
} else {
echo("F***ing spammer!");
}
4. Edit the html on the form to add the following fields:

Code:
<img src="securimage_show.php?sid=<? md5(uniqid(time())) ?>">
<input type="text" name="code">
There ya go =) Problem solved =P
Reply With Quote