This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Permanent 301 Redirect via PHP | |
header("HTTP/1.1 301 Moved Permanently"); | |
header("Location: https://iamprogrammer.lk/"); | |
exit(); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
array( | |
'AED' => 'United Arab Emirates Dirham', | |
'AFN' => 'Afghan Afghani', | |
'ALL' => 'Albanian Lek', | |
'AMD' => 'Armenian Dram', | |
'ANG' => 'Netherlands Antilles Guilder', | |
'AOA' => 'Angolan Kwanza', | |
'ARS' => 'Argentine Peso', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You can use the "crontab -e" command to add a program to the cron job scheduler, | |
so that it will launch it at startup, even if there is no GUI installed (useful for Ubuntu servers). | |
# First config the cronejob | |
~$crontab -e | |
# Select the text editor (I choosed NANO by hitting 1) | |
# Next, scroll to the bottom of the file and add the following line. |