Webmastersite.net
Register Log In

Trying to include the security image

Comments on Trying to include the security image

Jenny
Forum Regular

Usergroup: Customer
Joined: May 11, 2003

Total Topics: 64
Total Comments: 199
Jenny
Posted Jul 03, 2006 - 6:03 AM:

I've been trying to include the security image for a while now, and there's something I'm screwing up.

I added the path to the WSN Gallery installation
'/home/kellysol/public_html/images/'

and then I added this to the contact form

<tr>
<td>Security Image:
<br>Type the letters and numbers shown on the left into the box on the right. (This is to prevent automated submissions.)</td>
<td><img src="images/securityimage.php"> <input type="text" name="securityimage" size="4" maxlength="4" style="border:1px solid #741404; font-size:9pt;"> </td>
</tr>


Then, when I send the form, I get this error:

Fatal error: Cannot redeclare geturl() (previously declared in /home/kellysol/public_html/formemail.php:58) in /home/kellysol/public_html/images/filefunctions.php on line 260

The contact form is located here:
http://kellys-online.com/contact.php

BTW, why is the security image always showing the same letters??? sticking out tongue
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 07, 2006 - 10:47 PM:

Because of the autoresponder also being used I see. Put an
if (!function_exists('geturl'))
{

}

around the geturl function. Updated the available zip.
Jenny
Forum Regular

Usergroup: Customer
Joined: May 11, 2003

Total Topics: 64
Total Comments: 199
Jenny
Posted Jul 09, 2006 - 6:41 AM:

perfect, thank you smiling face
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.