110mb.com Forum
News: Currently none. But refer to this news before you post an error, maybe it's already being fixed Wink
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 06, 2008, 01:42:10 AM


Login with username, password and session length


Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: Want a Script that a user can submit info to me via email.  (Read 408 times)
Snitter
Sri Lankan
Member
*
Offline Offline

Posts: 24



WWW
« on: August 05, 2008, 06:15:18 PM »

I want Script that user's can submit info to me via email for Free.
I want put in to my "Contact Us" page.

Also I want to Is that need something Enable like Sendmail &  Fsockopen.
Is that really need Enable Sendmail &  Fsockopen. Can't It do from HTML?

Can anybody give me the advice an Script for this.
« Last Edit: August 12, 2008, 04:14:49 AM by Snitter » Logged
physicshelp4u
Hyper-Active Member
***
Online Online

Posts: 155



WWW
« Reply #1 on: August 06, 2008, 11:16:45 PM »

yes sendmail is necessary. tell me the fields you want?
Logged

Joey van Hummel
A banana!
Authority Member
****
Online Online

Posts: 620


I have the shortest attention span ever!


WWW
« Reply #2 on: August 07, 2008, 02:35:09 AM »

yes sendmail is necessary. tell me the fields you want?
well, you can't do it from html caus ehtml is not really a serverside script.
PHP, on the other hand is.
you need either sendmail or fsockopen (and an smtp enabled mail host, lik egmail)
you can then use an html page which posts the form data to the php form handler, which submits the info to you through the fsockopen mail/sendmail function.
Logged

mytestpages
Hyper-Active Member
***
Offline Offline

Posts: 335


« Reply #3 on: August 08, 2008, 07:58:29 AM »

i have no idea how to do the fsockopen or sendmail script but thats easily found on google
below is the html form ya want  grin

Code:
<html>
<head>
<title> Contact Us Form </title>
</head>

<form action="sendmail.php" method="post">
Your Name:<input type="text" name="name">
<br>
Email Address:<input type="text" name="email">
<br>
Your message: <input type="textarea" columns="40" rows="100" name="comment">
<br>
<input type="submit" value="Submit Comment">
<input type="reset" value="Reset Fields">
</form>

the action post sends the information (when user presses submit) to the sendmail.php file

you will need to validation like email checker & maybe a catchpa
Logged

make money for free @ http://mytestpages.110mb.com | Mod your xbox @ http://phjadmin.110mb.com | add banners to your website & earn easy money <a href="http://www.freebies4webmasters.co.uk/?aff=14659">Earn Credit for your Website!</a>
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

  Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC

Theme by Dilber MC | Using SEO4SMF Mod

All content on this forum (especially posts) is copyright property of 110mb & the member
who wrote the post. So if you wish to steal anyone's post on this forum, you'll wish you
were dead because our lawyers will sue your ass!