cloudy

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

0 Members and 1 Guest are viewing this topic.

Offline Jose1701

  • Posts: 463
  • Germany
    • Wetter in Mülheim
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #165 on: April 14, 2009, 08:21:51 PM »
New to that and I do have question.

I need to use the smtp function. Without that it won't work but when I enter m username and password for my mailaccount, isn't it viewable for others?

Do I need to hide the file in my server (apache) and when yes, can someone please explain how?

Thnaks a lot

Regards

Jose
WX Station Type OS WMR200 + UV + modified Solarunit

http://www.wetternet.org


Offline kilerb

  • Posts: 8
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #166 on: May 19, 2009, 08:14:53 PM »
Hi, I was wondering if this could be modified to use as an online application for customers?  Change/add some fields and that's pretty much what it is right?  It will transmit the info on the app to us, right and it's good to go right?

Thanks!

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 #167 on: May 19, 2009, 08:28:32 PM »
Hi, I was wondering if this could be modified to use as an online application for customers?  Change/add some fields and that's pretty much what it is right?  It will transmit the info on the app to us, right and it's good to go right?

Thanks!

Inside the code add as many fields as you need

-----------------------------------------
- How to add another field?
-----------------------------------------
You need this Version or higher: 1.12 - 20-Aug-2008
You would have to edit 5 places places in the script. see the readme.txt
Search in the code for 'add another field here' without the quotes,
I put this comment just after every part that code would need to be added.
Find each of the five places, then pick a unique field name, and code it yourself.
I have not documented this before, because it is really only a basic contact form.
There are other free contact forms that are very advanced in that they allow you to configure multiple fields and field types.
This one will never be that advanced because I want it to remain simple.

Offline kilerb

  • Posts: 8
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #168 on: May 19, 2009, 08:38:50 PM »
Thanks...  There was one concern that just arose over here...  Most sites have the https:// not http:// for these sorts of apps with secure info on them.  Is that something I could add to this particular page easily? 

Oh, also...  Can I make it so some of the smaller fields are next to the previous field rather than on the next line?  Is there a simple code I can stick or remove between the field codes to achieve that?

Thanks again!
B
« Last Edit: May 19, 2009, 08:44:24 PM by kilerb »

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,429
  • Rome, New York
    • CNYWeather.com
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #169 on: July 11, 2009, 11:44:03 AM »
Mike, hate to be a pest, but I crudely added some stuff to my contact form. http://www.cnyweather.com/wxcontact.php
Was looking to make it so they didnt have to fill in the "enquiry"  part of the form also, or is that a bad idea?

Trying to add the ability to get warnings and/or forecasts with your jazzy new scripts.
Messed around with radio boxes but that didnt work well.


Tony
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 #170 on: July 11, 2009, 03:34:04 PM »
Thanks...  There was one concern that just arose over here...  Most sites have the https:// not http:// for these sorts of apps with secure info on them.  Is that something I could add to this particular page easily? 

Oh, also...  Can I make it so some of the smaller fields are next to the previous field rather than on the next line?  Is there a simple code I can stick or remove between the field codes to achieve that?

Thanks again!
B

sorry for the delay in my reply.

Yes this contact form supports HTTPS, you just have to have a SSL cert installed on your domain name. Most web hosts offer that option. Contact your host if you need one.

If you want to rearrange the form fields, you will have to modify the HTML in the php script. You are free to modify the code as you need.

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 #171 on: July 11, 2009, 03:38:19 PM »
Tony, that should be OK

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 #172 on: August 11, 2009, 06:23:03 PM »

Version: 1.23 - 11-Aug-2009
- added BCC(Blind Carbon Copy) email feature in settings

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 #173 on: August 27, 2009, 06:27:33 PM »
Version: 1.24 - 27-Aug-2009
- fixed deprecated ereg_replace and eregi functions for PHP 5.3+ compatibility when error warnings are on

Offline jwwd

  • Posts: 3,545
  • Silkeborg, Denmark (56:10:58 N-09:30:26 E) - Elevation 75,35 meters
    • Weather at Silkeborg, Denmark
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #174 on: August 27, 2009, 07:07:22 PM »
Hi Mike

Thanks for the update.

The message is getting thru - but I get 2 errors:

Deprecated: Function eregi() is deprecated in /home/www/silkeborg-vejret.dk/english/scripts/kontakt/contact.php on line 725

Deprecated: Function split() is deprecated in /home/www/silkeborg-vejret.dk/english/scripts/kontakt/contact.php on line 726


Feel free to test:

http://www.silkeborg-vejret.dk/english/kontakt.php

Best regards,

Henrik


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 #175 on: August 27, 2009, 09:11:43 PM »
OK I missed one of the eregi functions.
Please download the zip file again. The version is the same, but I fixed the one line.

Offline jwwd

  • Posts: 3,545
  • Silkeborg, Denmark (56:10:58 N-09:30:26 E) - Elevation 75,35 meters
    • Weather at Silkeborg, Denmark
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #176 on: August 28, 2009, 03:46:39 AM »
Hi Mike

Just downloaded newest .zip - but unfortunately I still see an error:

Deprecated: Function split() is deprecated in /home/www/silkeborg-vejret.dk/english/scripts/kontakt/contact.php on line 726

www.silkeborg-vejret.dk/english/kontakt.php

Best regards,

Henrik

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 #177 on: August 28, 2009, 05:45:34 AM »
OK, downloaded another newest .zip

Offline jwwd

  • Posts: 3,545
  • Silkeborg, Denmark (56:10:58 N-09:30:26 E) - Elevation 75,35 meters
    • Weather at Silkeborg, Denmark
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #178 on: August 28, 2009, 08:51:23 AM »
Hi Mike

Its working now - thank you very much.

Best regards,

Henrik

Offline TNETWeather

  • Kevin Reed (KrelvinAZ)
  • Global Moderator
  • Posts: 5,859
  • Gremlins are at work...
  • Mesa, AZ
    • TNET Weather Station - Mesa AZ
Re: Free Contact Form PHP Script with image captcha - contact.php
« Reply #179 on: August 30, 2009, 02:40:13 AM »

Or if you don't have time to figure out all the changes in 5.3.0... this is just a depreciation notice.

error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED)

Using the above with ignore those warnings... The function split() continues to work.

E_DEPRECATED was added in 5.3

You can use preg_split if you want to use a non-depreciated replacement and still need regex, or just use explode if you don't need to use regex.

All you need is Time, Aptitude and Desire ... and you can build just about anything...