On the Confirm Options tab in WBF Settings for my form, I have selected "Redirect to another URL", and filled in the URL as follows:
/localhost/hlv/test.php
Note: I wanted to use a relative URL reference, but that's still a bit funky on my home wamp setup (I probably have to set document root or something like that). But for now, the absolute reference does, indeed, find the "testrequest.php" file above.
My assumption was that by specifying this redirect, I could create my own php page (or CGI or whatever) and make use of the REQUEST info. Is that incorrect? Is there something else I should be doing?
My "testrequest.php" contents:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
</head>
<body>
<?php
// display some diagnostics output so we can see what was received from the form, and how we interpreted it
echo '<p></p> <p></p> <p></p> <p></p> <p></p> <p>Request was: </p>' . PHP_EOL;
echo print_r($_REQUEST,TRUE) . '<p> </p>' ;
echo '<p></p> <p></p> <p>POST was: </p>';
print '<pre>';
print_r($_POST);
print '</pre>';
echo '<p></p> <p></p> <p>GET was: </p>' ;
print '<pre>';
print_r($_GET);
print '</pre>';
echo print_r($_REQUEST,TRUE) . '<p> </p>';
echo '<p>Formatted calculator input string is: </p>';
?>
</body>
</html>
...and the results when the page is called (with PHP working, and the page loaded through the wamp stack looks like this:
Array ( )
POST was:
Array
(
)
GET was:
Array
(
)
Array ( )
What am I doing wrong? When I choose the "redirect" option, do the form request not get passed along to the page I specify in redirect?