===================================== Simple PHP Form Mailer by Kalinga Athulathmudali img_validate_howto.txt 2006-Aprl-28 Web Site http://www.onetforum.com/formmailer/ Copyright (C) 2006 Kalinga Athulathmudali ===================================== Image Validation How To: Note : Get the form to work with out the Image Validation first, before you try to enable it. ============================================================================================= 1. You need to create a HTML Form with a text field call "key" with around 6 char length. also put some info saying the user to put what they see im the image. 2. Setup a place to put your image. best to put it top of your key field. 3. Add where you setup the image. 4. If your HTML form is an HTML document, you need rename it to a PHP document. renamed the formname.html in to formname.php.also keep a backup copy of your original HTML form. make sure to rename the file in to .php after you finish building your form. Note: you may need to update your hyperlinks that was pointing to your form. as you have 5. open your renamed form in a text editor (Notepad, WordPad or VIM) or with Dreamweaver, DONT NOT open with MS FrontPage. on top of the page even before the even add the following lines. ** http://onetforum.com/fourm/viewtopic.php?t=105 =========== =========== 6. Add this to the form in the (meta tags are) so the this will help the image not to get cahe by a proxy or the browser. save the file after that. 6. now you need to upload your form (php) , mail.php and img_include.php to the same directory in your web server. 7. creat a directory where you form is call img. and the the file permission on the img directory to 777, so the web server can white files to that directory, if you have ssh, try "chmod 777 img" (no need to set file permission if your running Apache on Windows) That’s it your done.