Smarty need URL value

Discussion in 'PHP' started by HuggyEssex, Aug 2, 2010.

  1. #1
    Hello,

    Can someone please let me know what the url value is that I can call using the smarty template value.

    Just need the pages exact url so I can call it and place it into a piece of HTML that I have got.

    Glen
     
    HuggyEssex, Aug 2, 2010 IP
  2. Pudge1

    Pudge1 Well-Known Member

    Messages:
    912
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    140
    Digital Goods:
    1
    #2
    That didn't make a lot of sense. Can you rephrase that?
     
    Pudge1, Aug 2, 2010 IP
  3. arpit13

    arpit13 Well-Known Member

    Messages:
    294
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    128
    Digital Goods:
    1
    #3
    do u mean u want to print requested url?
    if yes this is the code:
    
    echo $_SERVER[REQUEST_URI];
    
    PHP:
    otherwise plz explain it in a proper way.
     
    arpit13, Aug 3, 2010 IP
  4. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #4
    MyVodaFone, Aug 3, 2010 IP