take a part of a URL question

Discussion in 'HTML & Website Design' started by izlik, Aug 19, 2008.

  1. #1
    hello.

    I was wondering if it's possible to steal a part of the url and place on a page ? let's say the url in queston is "http://mypage.com/ati.php?dat=Murky

    can i somehow grab "Murky" out of the url and place it on my page ? for example "you know that Murky is a goon"

    is this possible ?
     
    izlik, Aug 19, 2008 IP
  2. nicangeli

    nicangeli Peon

    Messages:
    828
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Investigate into PHP and the GET method. Something like,

    <?php
    echo "you know that " . $_GET[dat] . " is a goon";
    ?>
     
    nicangeli, Aug 19, 2008 IP
  3. alexme

    alexme Guest

    Messages:
    178
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Very good, this will help me as well! :)
     
    alexme, Aug 19, 2008 IP
  4. leebari

    leebari Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    leebari, Oct 13, 2009 IP