Post, Post Parameter and Forward

Image previewer add-on.

Post, Post Parameter and Forward

Postby peachey777 » Thu Jun 17, 2010 2:44 pm

I'm having trouble getting Post, Post Parameter and Forward to work together.

Code: Select all
document.write('post="" ');
document.write('postparameters="true" ');
document.write('forward="" ');


Code: Select all
document.writeln('<PARAM NAME="post" VALUE="">');
document.writeln('<PARAM NAME="postparameters" VALUE="true">');
document.writeln('<PARAM NAME="forward" VALUE="">');

This forwards me to the url but the post doesn't work. My file test.php uses this code

Code: Select all
foreach ($_POST as $var => $value) {
echo "$var = $value<br>";

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

Posts: 1
Joined: Thu Jun 17, 2010 2:36 pm

Re: Post, Post Parameter and Forward

Postby support » Sat Jun 19, 2010 10:49 am

POST parameters should be there, it works for us:

Code: Select all
  while (list ($header, $value) = each ($_POST))
    fwrite($lg," ".$header."=".$value."\r\n");

Can you remove "forward" lines and try again?
Also, which PHP version are you using?
User avatar
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm

Return to JImageUpload


Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.