You are here:

Web Hosting Advice/Enabling contact form in my website with PhP

Advertisement


Question
QUESTION: Hi,

I need to enable the contact form to work with the php script. I have no idea how to go about this. Can you help me?

ANSWER: I advise using a form with a Turing code in, to stop spammers. Take a look at this request form on my site:-

http://www.headingleysigns.com/ukmagsigns/social_media_tips_request.php

You can try it out - I'll show you what the response is. If that's suitable, I'll send you the php code over.

Bob.


---------- FOLLOW-UP ----------

QUESTION: Hi,

Thank you for your quick reply. I hac=ve both the contact form in html and the php script for it , but i don`t know how to link them both. CAn you give me a simple breakdown of how to go about it?

Answer
Here's my html -> php link:-

I've escaped the angle brackets - you will need to remove "\" if you see them.
<font color="FF0033">
A sign is a brilliant and constant way to advertise your business. But what about your online
presence? Can you get customers with facebook, twitter and so on? Yes, you can, but you have
to know how. Putting your stuff on your facebook page and spraying tweets at your followers
isn't the answer. You need to engage with your prospects. Then how do you use Google
plus? Also, having got them interested, how do you keep them on your site? For the secrets
of all this, \<a href="social_media_tips_request.php"\>click here\</a\>
</font>

Web Hosting Advice

All Answers


Ask Experts

Volunteer


Bob Marlow

Expertise

Registeringm hosting, ftp, weblog checking, security, ssh.

Experience

Have set up and ran my own websites for several years.

Publications
International Journal of Computers and Fluids.

Education/Credentials
BA in mathematics

Past/Present Clients
Headingley Signs

©2016 About.com. All rights reserved.