#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Posts
    70
    Rep Power
    15
    Hi,

    For a specific purpose I need the complete url displaying in the Url bar in the browser. Is there any function which provides that?

    Thanks

    Raaj

  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Aalborg, Denmark
    Posts
    9
    Rep Power
    0
    $PHP_SELF is the filename of the current script relative to the document root. Put the hostname and a / in front of it, and you're set.

Similar Threads

  1. Store part of URL in session variable?
    By Jonny5uk in forum ASP Programming
    Replies: 4
    Last Post: February 13th, 2004, 08:34 AM
  2. Javascript variable added to 'src' url
    By polgateway in forum JavaScript Development
    Replies: 5
    Last Post: January 21st, 2004, 12:52 PM
  3. sendmail installation problem on Linux
    By abuschr in forum Linux Help
    Replies: 0
    Last Post: January 14th, 2004, 10:08 AM
  4. removing openssl rh9
    By odave in forum Linux Help
    Replies: 0
    Last Post: January 11th, 2004, 11:51 PM
  5. Passing variable in a URL...
    By supergenius in forum PHP Development
    Replies: 4
    Last Post: January 7th, 2004, 02:42 PM

IMN logo majestic logo threadwatch logo seochat tools logo