WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Trying to include the security image

Version:
printPrint


Trying to include the security image
Jenny
Forum Regular
Avatar

Usergroup: Customer
Joined: May 11, 2003
Total Topics: 40
Total Posts: 119
Posted 07/03/06 - 03:03 AM:
quote post
#1
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="http://www.webmastersite.net/forums/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
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 07/07/06 - 07:47 PM:
quote post
#2
Because of the autoresponder also being used I see. Put an
if (!function_exists('geturl'))
{

}

around the geturl function. Updated the available zip.

Edited by Paul on 07/07/06 - 07:49 PM

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Jenny
Forum Regular
Avatar

Usergroup: Customer
Joined: May 11, 2003
Total Topics: 40
Total Posts: 119
Posted 07/09/06 - 03:41 AM:
quote post
#3
perfect, thank you smiling face
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.