+ Reply to Thread
Results 1 to 3 of 3




  

Thread: how to validate the url is not a spam

      
  1. #1
    I'm New! malaiselvan is on a distinguished road
    Join Date
    May 31, 2010
    Posts
    2
    Rep Power
    0
    Feedback Score
    0

    Default how to validate the url is not a spam

    Hi;

    Iam writing a php script to receive incoming sms message from my sms gatwway. My sms gateway will launch a url in my website to push the sms.

    For example...

    Code:
    http://mywebsite.com/incoming.php?from=1234567&keyword=abcd&message=hello
    Now the problem is how can i authenticate the url in launched from the right source?

    I want to code something inside incoming.php to validate the url based on some indormation. Could someone have any ideas please share with me.

    Thanks
    malai

  2. #2
    Jedi Master tomastamm is on a distinguished road
    Join Date
    January 17, 2010
    Posts
    35
    Rep Power
    3
    Feedback Score
    0

    Default Re: how to validate the url is not a spam

    you have to check 2-way sms gateway , api for sms receiving

  3. #3
    The Force is Strong! jalicia18 is on a distinguished road
    Join Date
    January 28, 2011
    Location
    Philippines
    Posts
    79
    Rep Power
    2
    Feedback Score
    0

    Default Re: how to validate the url is not a spam

    inside your incoming.php

    validate the value of the number or senders #...
    ie
    first is count the length of the number
    second if the country code is not in your spamlist

    $get_Number = $_GET['from'];
    //we assumed you have a class and functions
    $N = new classValidate();
    $number = $N->getValidate($get_Number);
    if($number===true)
    // Send out to the numbers via sms gateway and send a copy of your email in using mail() function
    else
    // prompt an error message.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Validate E-Mail
    By JavaScriptBank in forum HTML & Website Design
    Replies: 0
    Last Post: Dec 7th, 2009, 6:22 pm
  2. block the spam on ur servers , secure ur server from sending spam
    By sparks man in forum Dedicated / VPS Hosting
    Replies: 4
    Last Post: May 2nd, 2008, 2:38 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads