Snoopy.class.php 批量提交表单代码

<?php
include "Snoopy.class.php";
$snoopy = new Snoopy;

$submit_url = "http://ssptp.com/order/submit.php";    //提交url ,下面是一个数组存放提交内容
$submit_vars["client_name"] = "去你妹!";
$submit_vars["telephone"] = "去你妹!";
$submit_vars["client_address"] = "去你妹!";
$submit_vars["client_qq"] = "去你妹!";
$submit_vars["buy_num"] = "1";
$submit_vars["pay_type"] = "1";
$submit_vars["remark"] = "去你妹!去你妹!去你妹!去你妹!去你妹!去你妹!去你妹!去你妹!";

for($i=0;$i<=100;$i++){
  if($snoopy->submit($submit_url,$submit_vars)){
 echo "第".$i."次执行成功!"."<br />";
  }
}
 
?>

发表评论

电子邮件地址不会被公开。 必填项已用*标注