Codice sorgente - presumibilmente Plain Text |
<?php
if(isset($_GET['campo1']) && ($_GET['campo2']) && !empty($_GET['campo1']) && !empty($_GET['campo2']))
{
print"<html>
<body>
<form id=\"form\" name=\"form\" action=\"http://sito_a_cui_devi_mandare_post.it/\" method=\"POST\">
<input type=hidden name=\"campo1\" id=\"campo1\" value=\"".$_GET['campo1']."\"/>
<input type=hidden name=\"campo2\" id=\"campo2\" value=\"".$_GET['campo2']."\"/>
<script>document.getElementById(\"form\").submit();
</script></form>
</body>
</html>";
}
?>
|
Ultima modifica effettuata da alex1995 il 10/12/2014 alle 14:13