/    Sign up×
Community /Pin to ProfileBookmark

How does contact us page works in general?

Hi,

I am very new to web development. I have a basic doubt. I have few html pages, that I downloaded and edited to make a website. If I understand correctly, I need to post all my pages to hosting space (provided by any vendor). And to navigate from one page to other, I use href tags. Those looks pretty clear to me.

I am now, very unclear as how “contact us” page works in general. If viewer of the website enters his details such as Name, Email id, Company name etc.. How do those details reach me? What kind of coding should I do there to make this happen.
Very basic I know. But, please explain.

to post a comment
Java

3 Comments(s)

Copy linkTweet thisAlerts:
@XaldinAug 29.2009 — You need a sql database. I also recommend php.(when using html and php on the the same page use the php as the file type) You can use html in php.

The data gets posted onto a php page(May be the same page as the form) and possessed and inserted into the sql database. You might want an admin panel to work from too.

I'm actually going to make one myself in the near future.

I'd explain in more detail, but I got other things to do
Copy linkTweet thisAlerts:
@SabzAug 30.2009 — i'm also still new to the web development arena (professionally) and i'm focusing more on grasping client-side-scripting atm so i'm not sure if this is what your looking for as my PHP knowledge is minimal (not for long though)

anyways i was going through the thread and a quick google search reveals some helpful tutorials/articles, here is one hope it helps. googles your friend.... till proven otherwise!

Also on behalf of forum mods, please post in a more relevant section of the forum next time.
Copy linkTweet thisAlerts:
@tbattSep 03.2009 — Dear reachmehar,

You do not need php or an account management feature to send information from a contact form on your website to your email inbox. A simple html form will do the job. Whoever is hosting your website should have some sort of formmail script for you to use. (Contact your hosting provider for their form address)

Necessary example code to make it work:

<FORM METHOD=POST ACTION="http://ExampleFeatures.YourHostingCompany.com/bin/formmail.pl">

<input type=hidden name="recipient" value="[email protected]">

<input type=submit value=submit name=submit>

</FORM>

There are a ton of customizable fields you can add too:

To add a subject:

<input type="hidden" name="subject" value="Your Subject">

To change the text color:

<input type="hidden" name="text_color" value="#000000">

Hope this post helps you...
×

Success!

Help @reachmehar 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 6.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

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