User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.
I have checked my code by running from URL it's working fine while I am trying from the browser. but it's not working with the curl code and I can not find the solution. curl_error gives nothing. I have read that "devices won't always connect to the same public IP address for notifications. " but what is the solution for that Please suggest what is wrong with the curl code/ other issues possibilities.
And admin_notification_cron.php file fetch data from the database and call the sendNotification function after fetching 20 data from database every 1 Minuit
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that
you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice
sessions to improve your knowledge and scores.
manpreet
Best Answer
3 years ago
I have checked my code by running from URL it's working fine while I am trying from the browser. but it's not working with the curl code and I can not find the solution.
curl_errorgives nothing. I have read that "devices won't always connect to the same public IP address for notifications. " but what is the solution for that Please suggest what is wrong with the curl code/ other issues possibilities.Here is the curl code
And
admin_notification_cron.phpfile fetch data from the database and call the sendNotification function after fetching 20 data from database every 1 MinuitBelow is the
sendNotificationfunction code: