Home >Backend Development >PHP Tutorial >Implementation code for using post to pass string redirection in platform_driver_register PHP

Implementation code for using post to pass string redirection in platform_driver_register PHP

WBOY
WBOYOriginal
2016-07-29 08:44:54927browse

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn