[PHP][Showoff]Text Sender

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Vous Pas Reel HotelUnderSeige is offline
    MemberRank
    Nov 2007 Join Date
    ColoradoSpringsLocation
    1,290Posts

    [PHP][Showoff]Text Sender

    Ok so i was kinda bored so i made a text sender :D
    http://radiodev.org/ringtone
    It sends texts to phones :D
    PHP Code:
    <?php
    $number 
    $_POST['number'];
    $email_to "$number@$provider";

    if (
    $_POST['provider'] == "Tmobile") {
    $provider "tmomail.net";
    }
    if (
    $_POST['provider'] == "Telstra") {
    $provider "mobilenet.telstra.net";
    }
    if (
    $_POST['provider'] == "Bell Canada") {
    $provider "txt.bell.ca";
    }
    if (
    $_POST['provider'] == "AT&T/Cingular") {
    $provider "txt.att.net";
    }
    if (
    $_POST['provider'] == "Boost Mobile") {
    $provider "myboostmobile.com";
    }
    if (
    $_POST['provider'] == "Nextel") {
    $provider "messaging.nextel.com";
    }
    if (
    $_POST['provider'] == "Sprint") {
    $provider "messaging.sprintpcs.com";
    }
    if (
    $_POST['provider'] == "Verizon") {
    $provider "vmobl.com";
    }
    $email_to "$number@$provider";
    $email_subject $_POST['subject'];
    $email_body $_POST['message'];

    if(isset(
    $_POST['submit']))
    {
        if(
    mail($email_to$email_subject$email_body)){
            echo 
    "the email $email_subject was sent";
        } else {
            echo 
    "The email $email_subject was NOT sent.";
        }
    } else {
    ?>
    <html><body>
    <form method="post"> 
    <select name="provider"> 
    <option>Tmobile</option>
    <option>Bell Canada</option>
    <option>AT&T/Cingular</option>
    <option>Boost Mobile</option>
    <option>Nextel</option>
    <option>Sprint</option>
    <option>Verizon</option>
    <option>Telstra</option>
    </select>
    <br />
    Phone Number: <input name="number" type="text" /> 
    <br />
    Subject: <input name="subject" type="text" /> 
    <br />
    <textarea rows="5" cols="20" wrap="physical" name="message">
    Message Here
    </textarea>
    <br />
    <input type="submit" name="submit" />
    </form>
    </body></html>
    <?php
    }
    ?>
    Dont rip please :D


  2. #2
    Gamma RastaLulz is offline
    MemberRank
    Dec 2007 Join Date
    EarthLocation
    3,328Posts

    Re: [PHP][Showoff]Text Sender

    Hmm, I'm scared to try it, as it may just log my phone number.

    Send me the code?

  3. #3
    Vous Pas Reel HotelUnderSeige is offline
    MemberRank
    Nov 2007 Join Date
    ColoradoSpringsLocation
    1,290Posts

    Re: [PHP][Showoff]Text Sender

    Quote Originally Posted by Rasta View Post
    Hmm, I'm scared to try it, as it may just log my phone number.

    Send me the code?
    as requested dont rip :D

  4. #4
    Gamma RastaLulz is offline
    MemberRank
    Dec 2007 Join Date
    EarthLocation
    3,328Posts

    Re: [PHP][Showoff]Text Sender

    Quote Originally Posted by HotelUnderSeige View Post
    as requested dont rip :D
    Very nice, you always make some great scripts.

  5. #5
    Omega Ron is offline
    MemberRank
    Apr 2005 Join Date
    Location
    8,990Posts

    Re: [PHP][Showoff]Text Sender

    This is pro. =p

  6. #6
    Ragezone OG FrostElite is offline
    MemberRank
    Sep 2008 Join Date
    United StatesLocation
    1,881Posts

    Re: [PHP][Showoff]Text Sender

    Nice work man.

  7. #7
    Account Upgraded | Title Enabled! arberb is offline
    MemberRank
    Nov 2006 Join Date
    722Posts

    Re: [PHP][Showoff]Text Sender

    leech off another script. Don't lie I have seen this on a other site

  8. #8
    Vous Pas Reel HotelUnderSeige is offline
    MemberRank
    Nov 2007 Join Date
    ColoradoSpringsLocation
    1,290Posts

    Re: [PHP][Showoff]Text Sender

    Quote Originally Posted by arberb View Post
    leech off another script. Don't lie I have seen this on a other site
    no i have wrotten this script many times before and not gotten it to work, but now i did so stfu? heres the link
    http://forum.ragezone.com/f144/php-m...nd-php-476998/
    so next time you try and bull shit someone look up on resources, now dont let the door hit you on the ass

  9. #9
    Account Upgraded | Title Enabled! Cancel Man is offline
    MemberRank
    Nov 2008 Join Date
    Canberra, ACTLocation
    203Posts

    Re: [PHP][Showoff]Text Sender

    Greatjob, although i'm with Optus AU. So it's pretty useless for me.
    I've always wondered how these work, do they send the headers and other information through the Telsta Satelite or what?

  10. #10
    All is well... Wh005h is offline
    MemberRank
    Feb 2006 Join Date
    TejasLocation
    1,984Posts

    Re: [PHP][Showoff]Text Sender

    I was under the impression you needed a telecom server of some sort to do this(?).
    But if this does the job then awesome I learned something... *goes to try it*
    My thanks if it works lol

    --Edit--
    it looks as though your provider must support the email/sms system for this email script to work.
    Yes only major carriers provide this perk. Oh well still handy to know thanks.

  11. #11
    Apprentice Rushroom is offline
    MemberRank
    Feb 2009 Join Date
    24Posts

    Re: [PHP][Showoff]Text Sender

    My internet protector doesnt allow me to enter the page thought :I
    i feel unsure.

  12. #12
    Sharing is caring KillerStefan is offline
    MemberRank
    Feb 2007 Join Date
    NetherlandsLocation
    2,554Posts

    Re: [PHP][Showoff]Text Sender

    Wow this is awesome.

  13. #13
    Account Upgraded | Title Enabled! Mr.Lucifer is offline
    MemberRank
    Apr 2007 Join Date
    797Posts

    Re: [PHP][Showoff]Text Sender

    It sends a mail to number@provider. It's incredibly easy, and not "pro" at all. But it's fun I guess.

    It's a common trick, just like "Format C:\" in .bat files.

  14. #14
    Banned Monsta. is offline
    BannedRank
    Jun 2008 Join Date
    England - MerseLocation
    1,221Posts

    Re: [PHP][Showoff]Text Sender

    Dont rip please :D
    Why post the source then?

  15. #15
    Account Upgraded | Title Enabled! IQstim is offline
    MemberRank
    Jan 2009 Join Date
    632Posts

    Re: [PHP][Showoff]Text Sender

    Pretty out bounding thought. Good job.



Page 1 of 2 12 LastLast

Advertisement