Donate Share

phpFormGenerator

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Form to Phone Alert

  1. 2009-10-31 13:48:36 UTC

    Hello Everyone, I thought this could prove useful. But please use it in an positive manner.

    I was fiddling around on my computer one night, and I remember a while ago how I used to send emails to my cell phone and my cell phone would receive them as a SMS.

    We'll, this is how it can work. Since a SMS has only a limit of so many letters you can send, I put this into 2 Mail functions.

    (EX:)

    <?php

    $whereformis="http://".$SERVER['SERVERNAME'].strrev(strstr(strrev($SERVER['PHPSELF']),"/"));

    $mysubject=$POST['field1'];

    mail("example@hotmail.com",$mysubject,"phpFormGenerator - Form submission","Form data:

    First name: " . $POST['field1'] . "

    Last name: " . $POST['field2'] . "

    Age: " . $POST['field3'] . "

    Email: " . $POST['field4'] . "

    ");

    mail("1837439339@sms.yourcarrier.com",$mysubject,":

    " . $POST['field1'] . " Has filled out a form on your website

    ");

    include("confirm.html");

    ?>

    • You can customize that how ever you want, the value above will send you the Name of the person who filled out the form, and telling you that they DID fill it out*

    All the original information still gets sent to your email for you to view it later

    This service is not allowed by all providers, to see if you are elegible please visit this website :

    http://www.makeuseof.com/tag/email-to-sms/

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.