Results 1 to 3 of 3

Thread: How to display full URL?[Resolved]

  1. #1

    Thread Starter
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945

    How to display full URL?[Resolved]

    I have a page that displays all my reports and I want to display what URL that is at. Is there anyway to do this? Basically, I want to allow the user to copy that URL and drop it into a browser and get the same report if they want to.

    I tried various different things (pathinfo, dirname, etc.) but I always get the path on the harddrive of the server.

    Help!?
    Last edited by ober0330; Feb 27th, 2004 at 08:17 AM.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  2. #2
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    $_SERVER['REMOTE_HOST']

    http://www.php.net/reserved.variables

  3. #3

    Thread Starter
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    Nope, more like this:

    PHP Code:
    Program URL" . $_SERVER['SERVER_NAME'] . $_SERVER['SCRIPT_NAME'] 
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width