Root from Ibadah Reminder (https://github.com/jibrilhp/ibadah_reminder)
I hope this application will reminds many people to Ibadah :)
I'm using key from LINE, Google API and OpenWeather and create database.php and flag.php
<?php
$channelAccessToken = '<from LINE API, insert here>';
$channelSecret = '<from LINE API, insert here>';
define("op_id","<open weather key>");
define('google_key','<google key >');
define("cron_key",'<custom key, you can make own key>');
?>
<?php
$servername ="localhost";
$username ="root";
$password = "";
$dbname = "db_reminder";
$conn = new mysqli($servername, $username, $password, $dbname);
if ($conn->connect_error) {
exit(' :( ');
}
?>
In my localhost, i'm using the "new" folder to serve.
Create for everyminutes
curl "<your_server>/reminder_cron.php?key=<key>"
Create for everyday
curl "<your_server>/reminder_cron.php?key=0816851c86&run=athan"
Create for every 5-day
curl "<your_server>/reminder_cron.php?key=0816851c86&run=weather"