Form processor

  • Thread starter milefile
  • 2 comments
  • 445 views
10,832
Is there a PHP form processor I can use to email me user entered information? I'm not really worried about a data base, just getting the information sent to me. Thanks.
 
PHP:
<form action="mailto:sunnydesigns@hotmail.com?subject=Design" method="post" enctype="text/plain" class="style1">
  <div class="style22" id="header_nome"> <span class="style18">Sunny</span><br>
  <a  class="dsg" style="font-weight:normal;" href="mailto:sunnydesigns@hotmail.com" >sunnydesigns@hotmail.com</a>
  <label for="nome"></label>
  <span class="style18"><br>
    <input type="text" name="nome"/>
    </span>    </div>
  
  <div class="style18 style22"><label for="nome"><br> 
  </label>
  <input type="text" name="mail" value=""/>
  <br>
  <span class="style18">
  <textarea name="msg" rows="8" cols="40"></textarea>
  </span></div>
  <div class="style22">
    <p class="style18"><label for="nome"></label>
    <br>  
  </p>
    </div>
  <span class="style22"><a href="s">
  <input type="submit" action="sunnydesigns@hotmail.com" name="submit" value="Submit" border="0">
  </a> 
  </span>
</form>

That's not in PHP. But it's similiar to what I think you want.

I'll find up a PHP one if you want me to. It's upto you.

(This is the one I used before).

It shouldn't be hard to edit out the places where my information is.

Hope that helps.:)
 
bearing in mind that this requires no server side scripting and when you hit the submit button it will attempt to send the request using your default email client and will start this up on your local computer...usually MS outlook...if outlook isnt set up properly you wont be able to send the email...

it works like a <a href="mailto:emailaddress"> link on a website..

on the thread below, Giles offered a PHP solution to this problem and I offered a Perl solution but both are server side scripts and work straight from a form and when you press submit the email gets sent by the server to your email inbox. and thats it...

https://www.gtplanet.net/forum/showthread.php?postid=821317#post821317

you will have to provide the form yourself but its simple html and just remember to correspond the name of your input fields to the names specified in the scripts otherwise you'll get errors as the programs attempts to parse data that doesnt exist..

these programs are GUANANTEED to work...i have the perl version running on several sites...

if you need any help my friend just ask...

also the path to your unix sendmail program will be given to you by your ISP....you also need to change the file permissions of the mail script to hex744...or again you'll get server errors...
 
Back