![]() |
|
#1
|
|||
|
|||
How to handle user submitted data from a form? [was: How]On dreamweaver how can you make a form submit and send you the info that people have enterd
Last edited by JdS : 03-Apr-2004 at 05:27.
Reason: Please use a better title in your thread
|
|||
|
#2
|
|||
|
|||
|
an example
HTML Code:
Last edited by JdS : 03-Apr-2004 at 05:26.
Reason: Please enclose html code in [html] & [/html] for syntax highlighting
|
|
#3
|
||||
|
||||
|
You need to have some server-side script to handle the data submitted from a form. Usually this is simply a sript on your web server that's referred in the form's action attribute.
So an example <form> could look like this: HTML Code:
Please, please... use a more descriptive title in your threads, "How" for a title is usually ignored or even edited if not deleted. Also use syntax highlighting when including HTML codes in your posts / mesages. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#4
|
|||
|
|||
|
i need to know how to make it submit so i can resive the ditails.
ok and i will use a better header title next time |
|
#5
|
||||
|
||||
|
gangster-20, let's assume you have a web form page named: whats-your-name.html, inside it your HTML looks like this -
HTML Code:
Once a user fills in his name & surname and hits the Submit button, the POST data is sent to your script process-data.php and this is how your script could probably look like - PHP Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#6
|
|||
|
|||
|
do you know any wer that i could get a script for that
|
|
#7
|
||||
|
||||
|
You can try the search results for "form processing script +php"
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#8
|
||||
|
||||
|
Quote:
Another option: Talk to the people that host your website -- ask them what they have available. It may be a PERL script if they have something. If they don't, ask them if they could install FORMMAIL.PL from Matt's archive, available at http://www.scriptarchive.com/formmail.html You used to be able to simply add "mailto:email@addr" in the action but the newer browsers have removed that option. __________________
During the election they said Obama could only be elected when pigs fly. Well, we currently have an epidemic of Swine Flu. Coincidence? |
|
#9
|
||||
|
||||
|
Maybe DreamWeaver will catch up on FrontPage on this issue and use their forms.
FP allows you to have a form created, e-mailed, saved to a file, in less than 1 minute. __________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business. |
|
#10
|
|||
|
|||
|
That is using Front Page Extensions, If your hosting company does not support front page extensions you will not have that option.
|
Recent GIDBlog
Problems with the Navy (Chiefs) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The