PHP 8.0 was released recently at the time of this post is written. Surprisingly, Codeigniter 3 does not generate any error message this far in PHP 8.0.
Mailgun is one of some services to send e-mail. It has a nice PHP library here. But for some reason, it only works in my local server, and it does not work at all in remote server and the code returns “Mailgun server is not reachable” error (although i have tried to disable server firewall,… Continue reading Use Mailgun Plain PHP Curl Code
Here is how to use Midtrans-PHP official library in Codeigniter 3 🙂
If you are looking for bitmex API example using PHP, you can use this code 🙂 https://github.com/xrvel/xrvel-bitmex-api-php
If you use Cloudflare flexible SSL certificate to use HTTPS, in some case you may get redirect loop. I believe it is caused because WordPress does not recognize the “fake” SSL certificate. Fixing it is simple. Open your wp-config.php file, and find this first line <?php
Here is what i did to install PhantomJS in cPanel / WHM 🙂
Pligg supports some CAPTCHA, including Solve Media, and old reCAPTCHA. Now i will write how to use reCAPTCHA v2 (click captcha) into Pligg. First, you must get Google reCAPTCHA keys. Second, open your Pligg admin, set the site & secret key under “CAPTCHA” sub menu and click “configure” next to reCAPTCHA.
You may encounter this “warning” message when using PHP 5.4 or above E_WARNING: Creating default object from empty value Here is how to fix this 🙂
Here is a simple example of CSS media query 🙂 http://pastebin.com/dkdfAvGF