On facebook page, I create a tab where I can insert url so that, it display the html file from the free web hoster where I I have my files.
The problem I have is the mail function. I want the details submitted through that form to be emailed to me office email id(vsinduja@companyname.com).
I have WAMP installed in my computer. OS is Windows 7 Starter.
I have the html page with the form designed where there are 2 input fields
- Code: Select all
<body>
<form id="form1" name="contact_form" method="post" action="mail.php">
Name :
<label>
<input type="text" name="name" id="name" />
</label>
<br />
<br />
<br />
Message :
<label>
<input type="text" name="message" id="message" />
</label>
<br />
<br />
<br />
<label>
<input type="submit" name="Submit" id="Submit" value="Submit" />
</label>
<label>
<input type="reset" name="Reset" id="button" value="Reset" />
</label>
</form>
</body>
The action page is "mail.php".
Please tell me what to do next
1. What are the attributes I need to have on the mail.php
2.What are the edit I should do on the php.ini file
3. Should hosting site should support mail()
Please guide me completely

