note 87193 deleted from function.parse-url by thiago
| From: | thiago@php.net | Date: | Mon, 24 Nov 2008 11:35:08 +0000 |
| Subject: | note 87193 deleted from function.parse-url by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-146861@lists.php.net to get a copy of this message | ||
Note Submitter: lover at naver dot com
----
function SendPOST($url){
var $PURL= explode('?',$url);
echo"
<Form name='UDrectSend' action='$PURL[0]'
method='post'>";
$PVAL = explode('&',$PURL[1]);
foreach($PVAL as $val)
{
$x = explode('=', $val);
echo "<input type=hidden name='".$arr[$x[0]]".'
value='".$x[1]."'>";
$arr[$x[0]] = $x[1];
}
unset($val, $x, $PVAL);
echo "</Form><script>document.UDrectSend.submit();</script>";
}