action for a web form

jacken

Verified User
Joined
Oct 6, 2006
Messages
5
Hi,

I have just downloaded software to help with getting my online form to work and i cant get it work at all. has anyone got some suggestions.:mad:
 
ledformmail

Thanks jlandes,

The softawre i am using is ledformamil. When i downloaded it into my root files it create its in folder, should it be in my cgi-bin folder. There is an example form with it but when i press send the mail doesnt get sent to my inbox and the page that follows seems to display the php code. Please help or suggest some other software, much appreciated.:) :o

Also what i have done is placed the name of the php file into the action text box for the submit button on my contacts_pag.html in DW. I have the php file saved in my local folder. It calls this php file when i press the submit but the php file doesnt seem to perform anything.

Thanks again.
 
Last edited:
From reading their documentation, it looks like you just need to place the formmail php script in your domains public_html directory. Then create a form similar to this:

Code:
<form action="ledformmail.php" method=POST>
Name: <input type=text name="realname"><br>
E-mail: <input type=text name="email"><br>
<input type=hidden name=to value="[EMAIL="[email protected]"][email protected][/EMAIL]">
<input type=hidden name=redirect value="[URL]http://www.redirecturl.com[/URL]">
<input type=submit value="Send Your Info">
</form>

One thing you can try is see if php is correctly working on your server. Create a file called phpinfo.php and place it in your domains public_html directory. Put the following php code in there:

Code:
[FONT=Courier New]<?php[/FONT]
 
[FONT=Courier New] // Show all information, defaults to INFO_ALL[/FONT]
[FONT=Courier New] phpinfo[/FONT][FONT=Courier New]();[/FONT]
 
[FONT=Courier New]?>[/FONT]

Does this work?
 
Back
Top