Post, Post Parameter and Forward
Posted: Thu Jun 17, 2010 2:44 pm
I'm having trouble getting Post, Post Parameter and Forward to work together.
And
This forwards me to the url but the post doesn't work. My file test.php uses this code
I'm pretty sure my PHP code is fine. I changed $_POST to $_GETand tried it with forwardparameters and it worked just fine. Also I know url.com isn't right. This is for a client and they don't want there URL shown until the site is finished. Can anyone see what I'm doing wrong?
Thanks
Code: Select all
document.write('post="http://url.com/test.php" ');
document.write('postparameters="true" ');
document.write('forward="http://url.com/test.php" ');
Code: Select all
document.writeln('<PARAM NAME="post" VALUE="http://url.com/test.php">');
document.writeln('<PARAM NAME="postparameters" VALUE="true">');
document.writeln('<PARAM NAME="forward" VALUE="http://url.com/test.php">');
Code: Select all
foreach ($_POST as $var => $value) {
echo "$var = $value<br>";
}
Thanks