Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #22  
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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:06 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3