sendsms.php?user=nomi

Discussion in 'PHP' started by nomirock, Jan 6, 2008.

  1. #1
    nomirock, Jan 6, 2008 IP
  2. Javof

    Javof Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Describe Detailed...
     
    Javof, Jan 6, 2008 IP
  3. Javof

    Javof Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Send parameters possible only
    separately:
    user=nomi&password=123&about=bugaga
    Or
    String
    user=nomi/123/bugaga
    Which come to analyse in sendsms.php.
     
    Javof, Jan 6, 2008 IP
  4. nomirock

    nomirock Peon

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    you did not understand my problem the problem is that i get the url
    http://localhost/sendsms.php?user=??? from the CMS i am using now i want to create a custom page which gets the user ??? from the above url and selects this ??? user's mobile number from the database.
     
    nomirock, Jan 6, 2008 IP
  5. Javof

    Javof Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Can Not understand since russian.
    Signifies script gets the reference. That it is necessary to do with her?
     
    Javof, Jan 6, 2008 IP
  6. killaklown

    killaklown Well-Known Member

    Messages:
    2,666
    Likes Received:
    87
    Best Answers:
    0
    Trophy Points:
    165
    #6
    cant you just do

    
    if(isset($_GET['user'])){
    $user = $_GET['user'];
    $sql  = mysql_query("SELECT * FROM members WHERE username='$user'");
    // Whatever you want to do, once you get the user name
    }
    
    PHP:
     
    killaklown, Jan 6, 2008 IP
  7. Javof

    Javof Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Think, he not this had in view of.
     
    Javof, Jan 6, 2008 IP
  8. papa_face

    papa_face Notable Member

    Messages:
    2,237
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    285
    #8
    I have already answered this here. Duplicate thread reported.
     
    papa_face, Jan 6, 2008 IP