我正在进行自动注册。并使用CURLOPT_POSTFIELDS发布表单数据。 我有4个数据要发布。但响应总是说3.和4.“这个字段是必需的。”因此,如果用户名首先确定已发布,但如果是3.不发布。
示例:
$form_values = http_build_query( array('username' => $this->username, 'email'=> $this->email, 'password'=> $this->pass, 'first_name' => $this->name) );
发布用户名和电子邮件。给出关于密码和名字的错误。
$form_values = http_build_query( array('email'=> $this->email, 'password'=> $this->pass, 'username' => $this->username, 'first_name' => $this->name) );
发布电子邮件并仅通过。
怎么可能。我已经尝试编写后期数据手册了。
答案 0 :(得分:0)
可能的尝试是