capture address

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • toffee

    capture address

    Hi,

    I would like to capture the address of the page being visited i.e. the URL
    would be something like http://domain.com/page.php?a=VALUE1&b=VALUE2

    How can i capture the whole URL? I did some googling but the suggested
    solution HTTP_REFERER didnt work.

    Many thanks

    T


  • Janwillem Borleffs

    #2
    Re: capture address

    toffee wrote:
    I would like to capture the address of the page being visited i.e.
    the URL would be something like

    >
    How can i capture the whole URL? I did some googling but the suggested
    solution HTTP_REFERER didnt work.
    >
    Check the REQUEST_URI property. For other useful properties, check the
    output of phpinfo().


    JW


    Comment

    Working...