-
Create a Login System Using PHP and Microsoft Azure Database
I never wrote PHP system for a while, and I asked to build a simple login system for the current system. Most of my experience is using MySQL database to build login system, and it was a long time ago. Compared with MySql, Azure SQL database has some different things,…
-
PHP SQL LIKE operator wildcard cause SQL injection
PHP SQL LIKE operator with percent sign wildcard cause SQL injection vulnerability. One of my team member build a backend system and discovery the backend system can explore all the data by wildcard. So let analysis and investigate why change UserID to percent sign can cause SQL injection and explore…
-
Docker - Build a PHP with Apache HTTP Server
I can't stop play with Docker 🐳. Let setup and configure PHP development environment. Can you imagine using docker build PHP and apache environment need how long ? 1. First let Create a folder call docker_dev_php. 2. Create a Dockerfile with below configuration FROM php:7.3.0-apache COPY src/…
-
Migrate Wordpress to New server
Migrate Wordpress to New server Host on DigitalOcean Regarding certbot is not longer support on ubuntu 14.04 LTS this will cause we can't renew the Let's Encrypt Certificates on our wordpress server this will cause our domain become unsecure mark on all browser. The current server host is almost…
-
PHP - cURL - POST Or GET Data on server
PHP supports libcurl, a library created by Daniel Stenberg, that allows you to connect and communicate to many different types of servers with many different types of protocols. libcurl currently supports the http, https, ftp, gopher, telnet, dict, file, and ldap protocols. libcurl also supports HTTPS certificates, HTTP POST, HTTP…