cloudy

Author Topic: Free Contact Form PHP Script with image captcha - OLD VERSION  (Read 40551 times)

0 Members and 1 Guest are viewing this topic.

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #180 on: August 30, 2009, 05:42:42 AM »
Good info Kevin, Thanks  :D

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #181 on: August 30, 2009, 05:49:29 AM »
Version: 1.25 - 29-Aug-2009
- Improved ctf_validate_email function and fixed a bug that invalidated email address with upper case (introduced in last version)

Offline MadALwx

  • Posts: 1,317
  • Retired USAF B-52 Gunner
  • Madison, AL
    • MadALwx
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #182 on: September 07, 2009, 03:22:16 PM »
I'm setting this up, but I keep getting invalid e-mail address warnings.
http://www.knology.net/~blackjack52/wxcontact.php

I tried it by adding my e-mail to $, but nogo.
Code: [Select]
// Normally this setting will be left blank, like this: $email_on_this_domain = '';
// Some Web hosts do not allow your PHP to send email unless the From: email address
// is from the same domain. If your form does not seem to be sending any email, then
// set this to your email address on the SAME domain as your web site as a possible workaround
$email_on_this_domain = ''; // optional
Lee,     Fox4ALS.com


VP2 w/ Solar Rad, LD-250-Lightning2000, MadCam

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #183 on: September 07, 2009, 03:48:39 PM »
Lee, please Private Message me the email address that gives you the warning. I will look into the problem.

Mike

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,429
  • Rome, New York
    • CNYWeather.com
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #184 on: September 21, 2009, 07:11:05 PM »
Hey Mike. I cant seem to get rid of this one error on my contact
page I'm now using at work:

Code: [Select]
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent
(output started at /home/speedyaw/public_html/contact.php:8) in /home/speedyaw/public_html/contact.php on line 194
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline jjmcnelly

  • Posts: 263
  • Napavine, WA
    • Cedar Ridge Weather Station, Napavine WA 98565
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #185 on: September 21, 2009, 11:01:38 PM »
With the domain protection enabled, I get the 'input forbidden' error after sending the contact form.  Any Ideas?  I have the feature disabled for now.

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #186 on: September 23, 2009, 11:22:28 PM »
Hey Mike. I cant seem to get rid of this one error on my contact
page I'm now using at work:

Code: [Select]
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent
(output started at /home/speedyaw/public_html/contact.php:8) in /home/speedyaw/public_html/contact.php on line 194

Your start session_code is not before your html header output.
Read the readme, it is explained there.

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #187 on: September 23, 2009, 11:23:28 PM »
With the domain protection enabled, I get the 'input forbidden' error after sending the contact form.  Any Ideas?  I have the feature disabled for now.

You have to set the domain setting correctly in the contact.php settings, did you?

Offline jjmcnelly

  • Posts: 263
  • Napavine, WA
    • Cedar Ridge Weather Station, Napavine WA 98565
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #188 on: September 24, 2009, 01:26:45 AM »
You have to set the domain setting correctly in the contact.php settings, did you?

Found the mistake.  I used .com instead of .info!   #-o

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,429
  • Rome, New York
    • CNYWeather.com
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #189 on: October 22, 2009, 07:55:13 PM »
Is there a way to add file upload capabilities to the script too?
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #190 on: October 23, 2009, 12:32:26 AM »
Is there a way to add file upload capabilities to the script too?

It would take specific coding for that. I will look into it. What do you need it for? what file types?

Mike

Offline ALITTLEweird1

  • Mark
  • Posts: 3,867
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #191 on: November 10, 2009, 11:53:02 PM »
Is there a way to add file upload capabilities to the script too?

I would be interested in that also. Files like jpeg, gif and png files would work.
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #192 on: November 11, 2009, 12:54:50 AM »
I would be interested in that also. Files like jpeg, gif and png files would work.

Not going to happen soon. It would need a PHP mailer class, temporary folder for uploads, code for the additional security concerns, etc.
I do not have time to do that now, sorry.
« Last Edit: November 11, 2009, 01:11:32 AM by MCHALLIS »

Offline ALITTLEweird1

  • Mark
  • Posts: 3,867
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #193 on: November 11, 2009, 02:07:18 AM »
Thats OK Mike. I just seen the topic come up about attachments being added possibly.
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #194 on: November 21, 2009, 07:29:28 PM »
Version: 1.3 - 21-Nov-2009 - Compatible with SecureImage CAPTCHA library version 2.0
download links on 1st post

Be sure to also upgrade to SecureImage Library version 2
To upgrade the library: delete your old /captcha-secureimage/ library folder and replace with this new one:

Download the library here:
http://www.642weather.com/weather/scripts/captcha-secureimage.zip

note: the old library would still work, except it is less secure and has less features.

New CAPTCHA features include: increased CAPTCHA difficulty using mathematical distortion, streaming MP3 audio of CAPTCHA code using Flash, random audio  distortion, better distortion lines, random backgrounds and more.
- New contact form option $enable_captcha_audio_flash enables streaming MP3 audio of CAPTCHA code using Flash

« Last Edit: November 21, 2009, 07:35:08 PM by MCHALLIS »