Weather-Watch.com
March 22, 2010, 02:59:46 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Members: 9,411  Posts: 347,586  Topics: 38,520
Please welcome Gololont, our newest member.

Latest versions: WD - 10.37P  WDL - 6.05  MML - 1.03
 News:
Check out the new FAQs (Frequently Asked Questions) board for a growing list of hints, tips and diagnostic suggestions.
  Advanced Search
   Home   Bug Tracker Photo Gallery Wiki Chat Calendar Search Login Register Help  
Pages: 1 ... 12 13 [14]
  Print  |  « previous  |  next »  |  Go Down  
Author Topic: Free Contact Form PHP Script with image captcha - contact.php  (Read 25075 times)
0 Members and 2 Guests are viewing this topic.
MCHALLIS
Rain Maker
***
Offline Offline

Location: Long Beach, WA USA
Station Type: Davis VP2+
Posts: 1,975
Local Time: Monday 08:59



WWW
« Reply #195 on: November 22, 2009, 06:40:37 AM »

I added 5 random fonts along with 31 random backgrounds to the CAPTCHA
http://www.642weather.com/weather/contact_us.php

This is the modified CAPTCHA version I use now (I just updated it again)
http://www.642weather.com/weather/scripts/captcha-secureimage.zip

You can install it, just replace your /captcha-secureimage/ folder with this one.

Logged

jjmcnelly
Forecaster
*****
Offline Offline

Location: Napavine, WA
Station Type: Davis VP2 / Windows 7
Posts: 175
Local Time: Monday 22:59



WWW
« Reply #196 on: November 22, 2009, 05:39:41 PM »

I added 5 random fonts along with 31 random backgrounds to the CAPTCHA
http://www.642weather.com/weather/contact_us.php

This is the modified CAPTCHA version I use now (I just updated it again)
http://www.642weather.com/weather/scripts/captcha-secureimage.zip

You can install it, just replace your /captcha-secureimage/ folder with this one.

Wow!  Great work!!!  Thanks
Logged

MCHALLIS
Rain Maker
***
Offline Offline

Location: Long Beach, WA USA
Station Type: Davis VP2+
Posts: 1,975
Local Time: Monday 08:59



WWW
« Reply #197 on: January 28, 2010, 05:27:04 PM »

Version: 1.4 - 28-Jan-2010 - Added setting to enable or disable form fieldset border.
- Simplified blank field messages (and removed the word "error" from them).
- Text labels changes: 'E-Mail' change to 'Email', 'e-mail' changed to 'email'.
- CAPTCHA function can now report server cookie problems.

Download link in 1st post
Logged

Bergerie
EndUser
Forecaster
*****
Offline Offline

Location: Montauroux, France
Station Type: VantagePro2+
Posts: 123
Local Time: Monday 14:59



WWW
« Reply #198 on: February 02, 2010, 08:33:47 PM »

The following works: <img src="./images/ctf-loading.gif" alt="Returning to Home Page" />&nbsp;&nbsp;
Returning to Home Page...

but
<img src="./images/contact/ctf-loading.gif" alt="Returning to Home Page" />&nbsp;&nbsp;
Returning to Home Page...
results in "Returning to Home Page Returning to Home Page..."

Though no big deal, I like to know why the second option failed.
Rgds
Dick
Logged
MCHALLIS
Rain Maker
***
Offline Offline

Location: Long Beach, WA USA
Station Type: Davis VP2+
Posts: 1,975
Local Time: Monday 08:59



WWW
« Reply #199 on: February 04, 2010, 12:42:54 AM »

The following works: <img src="./images/ctf-loading.gif" alt="Returning to Home Page" />&nbsp;&nbsp;
Returning to Home Page...

but
<img src="./images/contact/ctf-loading.gif" alt="Returning to Home Page" />&nbsp;&nbsp;
Returning to Home Page...
results in "Returning to Home Page Returning to Home Page..."

Though no big deal, I like to know why the second option failed.
Rgds
Dick

It would do that if the image was not found in the path you changed it to.
Logged

MCHALLIS
Rain Maker
***
Offline Offline

Location: Long Beach, WA USA
Station Type: Davis VP2+
Posts: 1,975
Local Time: Monday 08:59



WWW
« Reply #200 on: February 04, 2010, 12:44:03 AM »

Hello,

I have started to use your script. It is on my villa rental website which I am writing (www.samuiholidayvillarental.com). The email sends, but i get error message and no thankyou page. I am a beginner with only text editor so I cannot debug. Please Help!



What was the error?
and what is the URL to the contact page?
« Last Edit: February 04, 2010, 12:45:38 AM by MCHALLIS » Logged

drobbins
Rain Maker
***
Offline Offline

Location: Kentucky, USA
Station Type: Davis Vantage PRO2
Posts: 1,026
Local Time: Monday 08:59



WWW
« Reply #201 on: February 04, 2010, 02:23:50 AM »

My main page validates, but all other pages do not (error or message sent) Getting this messsage:
Quote
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /virtual/users/e15586-16411/web/top.php:101) in /virtual/users/e15586-16411/web/captcha-secureimage/securimage.php on line 422

http://www.cavecountryweather.com/contact.php
http://www.cavecountryweather.com/contact.php?action=send
Logged

MCHALLIS
Rain Maker
***
Offline Offline

Location: Long Beach, WA USA
Station Type: Davis VP2+
Posts: 1,975
Local Time: Monday 08:59



WWW
« Reply #202 on: February 04, 2010, 04:46:48 PM »

My main page validates, but all other pages do not (error or message sent) Getting this messsage:
http://www.cavecountryweather.com/contact.php
http://www.cavecountryweather.com/contact.php?action=send

Your contact page has to have session_start at the top before any other output or you will get that error.
This code must be at the top of your PHP script:
Code:
<?php
 
# mchallis says "session_start is required for the captcha-image to function,
 # and must be at the very top of the PHP script."
 # session_start() must be processed before any other output
 # or you might get a warning "headers already sent".
  
if( !isset( $_SESSION ) ) {
    
session_start();
  }
?>
Logged

drobbins
Rain Maker
***
Offline Offline

Location: Kentucky, USA
Station Type: Davis Vantage PRO2
Posts: 1,026
Local Time: Monday 08:59



WWW
« Reply #203 on: February 04, 2010, 05:49:14 PM »

I guess I need to get in the habit of checking for the latest version. There were many changes.
Thanks.
Logged

Pages: 1 ... 12 13 [14]
  Print  |  « previous  |  next »  |  Go Up  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!