send_post_query
send_post_query($url,$data,$type="application/x-www-form-urlencoded",$set_as_page=false,$add_header=""); - send an HTTP/HTTPS POST request to the specified address
The input function accepts parameters:
$url – address of the start page to send the GET request to$data – request data (for example "param1=text" or "param1=text1¶m2=text2")$type – request type$set_as_page – set the result as a page in the browser$add_header – an additional string that will be placed in the request header
After testing, the function returns the result of its work to the script :
true – completed successfully
false – failed