/    Sign up×
Community /Pin to ProfileBookmark

Contact form for Website!!

I am in the process of building a website using Dreamweaver, I am having problems with the form Working, I have created the HTML element and placed it within a table, I have also created a Php file to process the form and it just won’t work. All I want is a basic form with the following fields: First name, last name, email address, Telephone number, comments box and submit button, can anyone help with the coding or point me in the right direction please as I am ready to self combust grrrrrrrrrr!!!

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@coderunnerJul 18.2012 — Hello Raybrown,

Check out these examples:

1- Free simple PHP based email contact form

2- Creating simple PHP contact form

3- A simple, easy PHP contact form

4- Or Google --> simple php form

There you can find how to make a simple contact form with some adjustments.

(and even download the code)

PS Your webserver needs to support PHP !!
Copy linkTweet thisAlerts:
@jedaisoulJul 20.2012 — To add to [b]coderunner[/b]'s advice, did you realise that you cannot test php in your browser like you can html? You have to run the php on a server. You can set up a local server, I use WAMP. It is free, easy to install, and works faultlessly. Anyway, apologies if you already knew about this.
Copy linkTweet thisAlerts:
@PedroskiJul 21.2012 — yeah, also, if you mail the form to say, gmail, using a php script and you are using your own computer as the server, I have apache2, without a verifiable domain, then gmail will not accept your mail, and it will bounce.

This is because it comes from your computer. Even it you have a field 'Sender email', the sender of your email is your php script on your computer. gmail won't like this, as it looks like spam, and you will not recieve any mail. I can easily send mail to myself@mycomputer using a php script, but not to gmail. This is a bit of /var/log/mail

Jul 16 11:55:53 pedro-bedro postfix/error[3943]: DA64E6C0FF6: to=<[email protected]>, relay=none, delay=0.28, delays=0.14/0.01/0/0.13, dsn=5.0.0, status=bounced (gmail.com)

But I am only trying things out before I rent a host. Anyone suggest a good host??
Copy linkTweet thisAlerts:
@jedaisoulJul 21.2012 — In the UK, I'm very happy with [url=http://www.heartinternet.co.uk/freewebhosting.shtml]Heart[/url] as my host. So long as you do not need a MySQL database, it is really inexpensive. PHP is supported by default.
×

Success!

Help @Raybrown spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...