复制代码代码如下:
$ch =curl_init('http://domain-name.com/page.php');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "FORM_ID=295&NAME=$_POST[NAME]&EMAIL=$_POST[EMAIL]&PHONE=$_POST[PHONE]&DESCRIPTION=$_POST[DESCRIPTION]");
curl_exec($ch);
curl_close($ch);
終了します。
http://www.bkjia.com/PHPjc/323285.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/323285.html技術記事代制代次例: $ch =curl_init('http://domain-name.com/page.php'); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, "FORM_ID=295EMAIL=$_POST[EMAI...
]