GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 05-Feb-2009, 16:24
Bosque Bosque is offline
New Member
 
Join Date: Feb 2009
Posts: 1
Bosque is an unknown quantity at this point

Form mail help needed please


Hello, am new here so if this is posted in the wrong place I apologize in advance. What I need help with is this:
To use a PHP form-mailer on a Linux Dedicated or Virtual Dedicated server, create a Web form in HTML that links to a PHP file

I have the web form created in html, now how do I link it to a php file?

Any help with this would be greatly appreciated.
  #2  
Old 09-Feb-2009, 13:11
Howard_L Howard_L is offline
Regular Member
 
Join Date: Apr 2007
Location: Maryland/PA, USA
Posts: 802
Howard_L is a jewel in the roughHoward_L is a jewel in the roughHoward_L is a jewel in the rough

Re: Form mail help needed please


Quote:
I have the web form created in html, now how do I link it to a php file?
I assume you don't know any php yet and have not done any serverside scripting, right?
Basically what happens is this:
- Your html form gathers data.
- On submittal the data is sent according to what is specified in the form tag. eg: <form method="post" action="blah.php">
- At the server apache gets the submittal and see's that it's going to a .php and so executes blah.php and passes you forms' data to it.
- At that point you script takes over and does whatever you write it to do.
It could send a response page , or not etc etc etc... it's all up to you.
There are also scripts out there which are pre-written to accomplish particular tasks. You just install them and fill in the blanks.

There is an old standard perl script which works similarly specifically for generating emails from a form submittal called "formmail.pl" which has been replaced by a more secure "tfmail.pl"
Perl scripts might need to be located in a certain directory in order for the server to execute them.

Here is a very good tutorial http://www.tizag.com/phpT/
You may want to start at the beginning , you may want to read ahead to "forms" and you may then want to read ahead to POST & GET
 
 

Recent GIDBlogOnce again, no time for hobbies by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Form in DreamWeaver CallFaheem2 Web Design Forum 6 12-Dec-2006 01:45
Form Validation Issue petenyce405 MySQL / PHP Forum 3 11-Jan-2005 22:35
help with form orbitel MySQL / PHP Forum 11 21-Jan-2004 16:29
Guestbook error BobbyDouglas Web Design Forum 1 16-Oct-2003 23:17
How to encrypt mail sent by your feedback form? JdS Web Hosting Forum 4 30-Aug-2002 08:51

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 18:20.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.