SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Dec 2000
    Location
    Norcross, GA
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    var requesturi = $ENV{REQUEST_URI};

    Produces "expecting ';' at line x, character 22"...

    I'm attempting to set the environment variable REQUEST_URI to my own variable.

    Help?

  2. #2
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is that a typo? Or is it supposed to have an "i" at the end.

    Anyway, if this is JavaScript, you can assign the URL your own variable like this:

    Code:
    var URL = window.location;


Bookmarks

Posting Permissions

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