Home >Backend Development >PHP Tutorial >Implementation code for using post to pass string redirection in platform_driver_register PHP
Copy the code The code is as follows:
$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]&PH
curl_exec($ch);
curl_close($ch);
exit;
The above introduces the implementation code of using post to pass string redirection in platform_driver_register PHP, including the content of platform_driver_register. I hope it will be helpful to friends who are interested in PHP tutorials.