$jsonEncode = json_encode($data);
$tuCurl = curl_init();
curl_setopt($tuCurl, CURLOPT_URL, “”);
curl_setopt($tuCurl, CURLOPT_HTTPHEADER, array(
‘X-Parse-Application-Id: 0VpvoJUyhlPHLW5BHiqjyyBw8fwqaSlbWub9AlIK’,
‘X-Parse-REST-API-Key: DJga1AkR2Rza8U9McAVSBf24autcx6wLOEYAuIaR’,
‘Content-Type: application/json’
curl_setopt($tuCurl,CURLOPT_POST, 1);
curl_setopt($tuCurl,CURLOPT_POSTFIELDS, $jsonEncode);
curl_setopt($tuCurl, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($tuCurl);

if (strpos($output,’Email has been verified.’) !== false) {
echo ‘Email has been verified. Please exit and re-start SwingProfile for registration to take effect.’;
elseif (strpos($output,’Invalid link.’) !== false) {
echo ‘Email has been verified before’;
elseif (strpos($output,’Error in verifying the email’) !== false) {
echo ‘Error in verifying the email’;
echo ‘Data not found’;
echo ‘Invalid link’;

Download Now For FREE

SwingProfile golf swing analyzer and training aid is a must-have for golfers of all level.

Download on the App Store