I've made a test case to illustrate the issue.
First, I created a UDT called 'test'. Here's the code:
Code: Select all
echo "REQUEST<br>";
foreach($_REQUEST as $k => $v)
echo "$k: $v<br>";
echo "POST<br>";
foreach($_POST as $k => $v)
echo "$k: $v<br>";
echo "GET<br>";
foreach($_GET as $k => $v)
echo "$k: $v<br>";
echo "SERVER<br>";
foreach($_SERVER as $k => $v)
echo "$k: $v<br>";
Next, I created a page called "Aaron's Test Page", which simply calls the test tag:
If I then call up the page passing parameters as GET:
Code: Select all
http://exoticpublishing.com/aaron-s-test-page?foo=bar
I can see my bar value, both in $_REQUEST and in $_GET:
Code: Select all
REQUEST
page: aaron-s-test-page
foo: bar
CMSSESSIDa20aab3f: 99ef2dfd25f3f3e9d1b59658de240e43
__utma: 1.512717982.1189842767.1189842767.1189874168.2
__utmc: 1
__utmz: 1.1189842767.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)
__utmb: 1
POST
GET
page: aaron-s-test-page
foo: bar
If, however, I create an HTML form:
Code: Select all
<form action="http://mydomain.com/aaron-s-test-page" method="POST">
<input type="text" name="foo" value="bar">
<input type="submit" value="go">
</form>
and hit the "go" button, my foo parameter does not show up in the POST data:
Code: Select all
REQUEST
page: aaron-s-test-page
CMSSESSIDa20aab3f: 99ef2dfd25f3f3e9d1b59658de240e43
__utma: 1.512717982.1189842767.1189842767.1189874168.2
__utmc: 1
__utmz: 1.1189842767.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)
__utmb: 1
POST
GET
page: aaron-s-test-page
I'm wondering if this is because in the URL rewrite rule the engine passes the GET parameters along because they are part of the path, but perhaps the mechanism that redirects the request to the CMS system does not also pass POST variables?
Thanks!