Forum Moderators: coopster

Message Too Old, No Replies

How do I launch a PHP form application?

PHP formmail - contactme.php

         

big_zebra

9:49 pm on Apr 25, 2008 (gmt 0)

10+ Year Member



I have a working ASP application that takes input from a form and emails the results...quite common. Now my form has been hijacked by spammers, and I get several emails a day with garbage.

I want to implement the contactme.php application that has a spam checker in it. Question is, I'm a PHP novice, and don't know how to get that script to work.

I currently access the ASP 'formmail' application via an html page that has the form imbedded in it and then 'calls' the 'formmail.asp' application: <form action="/cgi-bin/formmail.asp" method="POST">.

The contactme.php script has a form imbedded in it already (name, email & message) fields, which I have replaced with my own fields.

How do I post the form on my website so it gets executed and emails me the form contents?

Many thanks.

dreamcatcher

6:24 am on Apr 26, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi big_zebra, welcome to WebmasterWorld. :)

This thread in our library may help:

Basics of Submitting and Emailing Forms with PHP
[webmasterworld.com...]

dc