[PHP] txt msg script

Discussion in 'Web Programming' started by shmew, Feb 23, 2008.

[PHP] txt msg script
  1. Unread #1 - Feb 23, 2008 at 8:41 PM
  2. shmew
    Referrals:
    0

    shmew Guest

    [PHP] txt msg script

    i found this script online and it seems to have a 150 txt msg daily quota, anyone know how to remove it?

    Code:
    <?php
    
    $number=$_POST['number1'].$_POST['number2'].$_POST['number3'];
    $email=$_POST['carrier'];
    $message=$_POST['message'];
    $amount=$_POST['amount'];
    $subject=$_POST['subject'];
    
    //Stops anyone from doing this to my number
    if($number!="your number"){
    
    //Sets $email 
    if($email=="Verizon"){
    $email=$number."@vtext.com";
    }
    
    elseif($email=="Sprint"){
    $email=$number."@messaging.sprintpcs.com";
    }
    
    elseif($email=="Rogers"){
    $email=$number."@pcs.rogers.com";
    }
    
    elseif($email=="Cingular"){
    $email=$number."@mobile.mycingular.com";
    }
    
    elseif($email=="T-Mobile"){
    $email=$number."@tmomail.net";
    }
    
    for ( $i=1; $i<=$amount; $i++){
    
    mail($email, $subject, $message);
    }
    
    echo "Sent ".$amount." messages to ".$number."!";
    }
    
    //If someone tried to send it to your number 
    else{
    echo "Fuck you";
    }
    ?>
     
  3. Unread #2 - Feb 23, 2008 at 9:03 PM
  4. Govind
    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    [PHP] txt msg script

    I can't see any messaging limits on that. Probably some restriction your host set up on the PHP mail() function.
     
  5. Unread #3 - Feb 23, 2008 at 9:09 PM
  6. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    [PHP] txt msg script

    It is your hosting limit.

    Sometimes, carriers may limit what you send if their service is abused.
     
  7. Unread #4 - Feb 23, 2008 at 9:11 PM
  8. shmew
    Referrals:
    0

    shmew Guest

    [PHP] txt msg script

    oh, i see thanks
     
< Cost to Build a Website | Gaming Script With 150 BulitIn Flash Games >

Users viewing this thread
1 guest


 
 
Adblock breaks this site