Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for 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
2 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_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.Here is the curl code
And
admin_notification_cron.php
file fetch data from the database and call the sendNotification function after fetching 20 data from database every 1 MinuitBelow is the
sendNotification
function code: