PHP Predefined Variables & Magic Constants
Predefined Variables Superglobals : Superglobals - built-in variables that are always available in all scopes. Starts with $_ + $GLOBALS $GLOBALS : all variables available in global scope $_SERVER: se
Predefined Variables Superglobals : Superglobals - built-in variables that are always available in all scopes. Starts with $_ + $GLOBALS $GLOBALS : all variables available in global scope $_SERVER: se
My personal attempt to learn unit test in PHP, using PHPUnit. I used two following examples to learn. reference1: https://www.youtube.com/watch?v=-9YVcssCACI reference2: https://www.youtube.com/watch?
DoctrineSymfony does not have core component that works with Databases. Instead, it uses third-party library called Doctrine.Doctrine allows building database schema through Entity Class, retrieving i
I have been trying out Symfony today, and while I was working on it, I faced some difficulties and issues.I decided to leave some progress review on this. Installing SymfonyThis is simple if you follo
Recently I’ve been using Codeigniter, and here’s how to use or create CI library. How to use itCI default libraries are located in system/libraries, and in order to use it, you just need to initialize
This is a step by step write up for how to prepare your AWS Linux server environment for Symfony. Get your EC2 instance with AWS Linux. I set everything default so that I can enjoy Free Tier. I stron
What happened? I was working on my company’s web application (CI3) and so far while I was using jQuery Ajax, I had no problem with CI method of getting POST inputs. I used the following code. 1$date
Basicscurl in PHP basically does the same thing as curl in different languages or environments, but php has its own way of using it. It is not too difficult though.Here are basic codes I used when I w
NGINX by itself does not provide PHP support. In order to make it work smoothly with PHP, additional implementation, which is PHP-FPM. When first installed NGINX, begin with installing php and php-fpm