Category: Tech
-
PHP Send Duplicate Key in POST data
Some Application Programming Interface (API) requires you to send multiple parameter with same key name. However, associative array in PHP only allow unique key name per each array. Subsequent assignment towards the same key will override the previously assigned values. Here is how to send duplicate key in POST data with PHP.
-
WordPress does not have IPv6 support (yet)
Amazon Web Services (AWS) has announced that there will be additional charges for the use of IPv4. The additional charges is for Elastic Classic Compute (EC2) users that are using IPv4 (either with Static or Dynamic IP Address). Previously, the use of IPv4 with EC2 is Free. If you are thinking about ditching IPv4 for…
-
How to integrate with CHIP Payment Gateway (PHP)
You are new to payment gateway integration and you wish to know on how to integrate with payment gateway. In this article, we will walkthrough the very basic things you need to know to integrate with CHIP Payment Gateway.
-
How I make simple HTTP load test
This WordPress blog is running on Amazon Web Service Elastic Compute Cloud (AWS EC2) with t2.nano instance. The web (apache + php-fpm) and database (mariadb) is put in different instance, making this blog technically running on two t2.nano instance or equivalent to one t2.micro instance.
-
Adding imagick to PHP 7.4 and 8.1 on MacOS 12.6
I’m currently preparing my brand new Macbook Air for WordPress plugin development. I have installed PHP 8.1 using homebrew, a well-known package manager for most software developers using Mac. After installing WordPress, I notice WordPress complained about missing imagick library. I tried to install but encountered an error.
-
Making PostgreSQL run on the first start of WSL 2 terminal
My daily routine involves working with Ruby on Rails with PostgreSQL as a relational database service. Thus, I will be discussing about how to automate the start of PostgreSQL service on Windows Subsystem Linux (WSL) 2.
-
RoR: Determining two date within the acceptable range
There are two dates where the first date is greater or equal to (gteq) and the second date is less than or equal to (lteq). Both dates set to have a rule where it must be within 3 months range. As always, there are always many ways to determine the range of between gteq and…
-
5 reasons why NOT TO host WordPress on Heroku
Heroku is a great platform for web developers to quickstart with web application development. 2 years back, I wrote an article about how I manage to install WordPress on Heroku. At that time, I was thinking it is cool to have WordPress installed on Heroku as it is cost-free to start. However, after a few…