Don't mess wit ma fone!!!!
Results 1 to 5 of 5

Thread: Don't mess wit ma fone!!!!

  1. #1
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Location
    Accelerating Windows at 9.81 m/s....
    Posts
    7,715

    Don't mess wit ma fone!!!!

    So this friend of mine was getting annoying calls and texts at all hours on his cell phone.

    My friend didn't like this; not only was it impolite, discouraging, and costing him money ... it's just wrong to call random people (it wasn't a friend of his).

    So I wrote this:
    PHP Code:
    $phone "{area_code_redacted}{phone_number_redacted}@$some_gateway.com";
     
    $texts = array(
     
    "Help!  My pants are on FIRE!!!!!",
     
    "Order: 1 large thin-crust Meat Lover's, add anchovies, please.  Send to {address_of_police_department_redacted}{ditto_city_and_state}.  Ask for $name_of_police_chief.",
     
    "To him who is thirsty I will give to drink without cost from the spring of the water of life. He who overcomes will inherit all this, and I will be his God and he will be my son. But the cowardly, the unbelieving, the vile, the murderers, the sexually immoral, those who practice magic arts, the idolaters and all liars, their place will be in the fiery lake of burning sulfur. This is the second death.",
     
    "Wanna see me in a tutu?",
     
    "Lions and Tigers and Bears ---- oh MY!"
     
    );
     
    $chance rand(0,4);
    $send_chance rand(1,3);
     
    if (
    $send_chance ==3) {
       
    $msg $texts[$chance];
       
    $out mail($phone,"Hi!",$msg);} 
    I had it run every minute for about 8 hours after Saturday midnight.

    In short ... don't mess with my friends' phones
    /!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade! /!!!\ ereg() is deprecated --- don't use it!

    dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

  2. #2
    Senior Member
    Join Date
    Mar 2009
    Posts
    811
    You know you could always you the cell number on 4chan.
    Declare variables, not war.

  3. #3
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Location
    Accelerating Windows at 9.81 m/s....
    Posts
    7,715
    Quote Originally Posted by Bonesnap View Post
    You know you could always you the cell number on 4chan.
    Heh. Never go there ....

    It is an interesting idea, though ;-)
    /!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade! /!!!\ ereg() is deprecated --- don't use it!

    dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

  4. #4
    Pedantic Curmudgeon Weedpacket's Avatar
    Join Date
    Aug 2002
    Location
    General Systems Vehicle "Thrilled To Be Here"
    Posts
    21,885
    THERE IS AS YET INSUFFICIENT DATA FOR A MEANINGFUL ANSWER
    FAQs! FAQs! FAQs! Most forums have them!
    Search - Debugging 101 - Collected Solutions - General Guidelines - Getting help at all

  5. #5
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Location
    Accelerating Windows at 9.81 m/s....
    Posts
    7,715
    Quote Originally Posted by Weedpacket View Post
    LOL ... ty ... I needed a chuckle right now :-)
    /!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade! /!!!\ ereg() is deprecated --- don't use it!

    dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •