php Marshall White CRM功能
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php Marshall White CRM功能相关的知识,希望对你有一定的参考价值。
add_action( 'wpcf7_before_send_mail', 'send_to_marshall_white' );
function send_to_marshall_white($contact_form){
$wpcf7 = WPCF7_ContactForm::get_current();
$submission = WPCF7_Submission::get_instance();
$data = $submission->get_posted_data();
$FirstName = $data['FirstName'];
$LastName = $data['LastName'];
$Phone = $data['Phone'];
$Email = $data['email'];
$City = $data['city'];
$PostCode = $data['PostCode'];
$url = 'https://marshallwhiteprojects.realestatebookings.com/projects.php';
$data = array(
"token" => PeKPU0VflPYuJB4coJzbfnhxnXs4o2NB,
"first_name" => $FirstName,
"last_name" => $LastName,
"phone" => $Phone,
"email" => $Email,
"comments" => "City: " . $City . " Postcode: " . $PostCode,
"property_id" => 534
);
$built_data = $url . '?' . http_build_query($data);
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $built_data);
$response = curl_exec($ch);
curl_close ($ch);
}
以上是关于php Marshall White CRM功能的主要内容,如果未能解决你的问题,请参考以下文章
刚入手 marshall jvm 410 和 1960a 箱体,请问怎么接
PHP帮管客CRM系统源码去域名授权v2.4.4版
java 支持JSON和XML marshall
Marshall @Id 到 JSON,同时保留 Java 8 时间格式
如何使用 Spring Ws marshall 调用 Paypal ws?
在 c# 中使用 ifdef 和联合的 Marshall 结构