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?
| SitePoint Sponsor |

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?





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