ok
Direktori : /proc/self/root/home2/selectio/www/a1tex.in/ |
Current File : //proc/self/root/home2/selectio/www/a1tex.in/whatsapp-test.php |
<?php // Whatsapp Start Here $mobile_no = '8124455952'; $msg_content = ' *Hi, Welcome To A1 Textile* Your order is confirmed. 🎉 Great news! We have received your order *217632* has been confirmed & will reach you shortly 🛳.'; $d='https://app.bulkwaapi.in/api/send?number=91'.$mobile_no.'&type=text&message='. urlencode($msg_content).'&instance_id=669F530E89D9B&access_token=65fd0ea28b8d6'; $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => $d, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'GET', CURLOPT_HTTPHEADER => array( 'Cookie: stackpost_session=3flp0i3t0ee5s2sirrolfpuur4lbntq3' ), )); $response = curl_exec($curl); error_log("GAnesan".$response); curl_close($curl); // print_r($response); //Whatsapp End ?>