Reputation: 2018
I'm creating a custom General Error Message (in domcfg that will replace the standard HTTP404)
I want to get the parameters on the URL, so I use @UrlQueryString.
It works fine expect for URL with the following syntax:
http://www.myserver.com/foo.nsf/&L=EN
For this URL the @UrlQueryString returns and empty string.
QUESTION: How Can I get the parameter of the URL in a bad formed URL ?
Upvotes: 1
Views: 862
Reputation: 22266
The server variable PATH_INFO will tell you what the current URL is.
See more info on server variables here: http://www.angelfire.com/ult/tipslotusnotes/Special%20Fields,%20Reserved%20Fields%20and%20Special%20Design%20Elements.htm
Upvotes: 2