User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 396,188 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,162 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1133 | Replies: 6
Reply
Join Date: Jun 2007
Posts: 3
Reputation: sillsi is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sillsi sillsi is offline Offline
Newbie Poster

Submit

  #1  
Jun 10th, 2007
Hi all i want to start a website and i want a form on it so people can sign up like a comunity but i cant link my submit buttons to my email address and i dont know how to make the whole account thing like the one i got when i registared to this site. can anyone help ?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2007
Posts: 41
Reputation: hussulinux is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
hussulinux hussulinux is offline Offline
Light Poster

Re: Submit

  #2  
Jun 10th, 2007
First off all, Do you have any knowledge of HTML.

U will need to create a form which would contain some textboxes and a submit button.

Try making this first and get back to us.
Hussain Fakhruddin
Teks: http://www.teks.co.in
hussulinux at gmail dot com
Reply With Quote  
Join Date: Jun 2007
Posts: 3
Reputation: sillsi is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sillsi sillsi is offline Offline
Newbie Poster

Re: Submit

  #3  
Jun 11th, 2007
ok i have done the form and somone told me to put my email adress into the action tab but when i try it it does not work
Reply With Quote  
Join Date: Feb 2007
Posts: 41
Reputation: hussulinux is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
hussulinux hussulinux is offline Offline
Light Poster

Re: Submit

  #4  
Jun 11th, 2007
Each of your form element will have a name associated with it.

So I assume you have something like this:

<form action="emailit.php" method="POST" >

Name:<input type = "text" name="name" />
Address:<input type = "text" name="addr" />
...
...
...
</form>



now to access it on the next page you'll need these variables and pass it to a mail function.
on a file called emailit.php

  1. <?php
  2. $message="Name: ".$_POST['name']; //same name as in the input form
  3. $message.="Address:"$_POST['addr'];
  4. mail('myemail@domain.com', $message, 'void' );
  5. ?>

for a complete options on emailing visit : http://au.php.net/mail

Put both files on a server and test it....
Last edited by hussulinux : Jun 11th, 2007 at 3:15 pm.
Hussain Fakhruddin
Teks: http://www.teks.co.in
hussulinux at gmail dot com
Reply With Quote  
Join Date: Jun 2007
Posts: 3
Reputation: sillsi is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sillsi sillsi is offline Offline
Newbie Poster

Re: Submit

  #5  
Jun 11th, 2007
Thank you very very much for your time. this is a great site.
Reply With Quote  
Join Date: Oct 2006
Posts: 53
Reputation: darrglud is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
darrglud darrglud is offline Offline
Junior Poster in Training

Re: Submit

  #6  
Jun 15th, 2007
I would recommend that you visit http://www.w3schools.com, because they have many good tutorials on HTML, CSS, JavaScript and more.
Reply With Quote  
Join Date: Jan 2007
Posts: 2,524
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 105
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Submit

  #7  
Jun 19th, 2007
Note that the server must have PHP for this to work.
Daylight-saving time uses more gasoline
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 9:32 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC