Posts

PHP - ceil() - round up, floor() - round down example

PHP - round example

PHP - get current date, add years/months/days

Yii2 - migration foreign key

Yii2 - andFilterWhere

Yii2 - ActiveForm example

PHP - strtotime example

PHP - spl_autoload_register example

PHP - file_get_contents example

PHP - str_replace example

PHP - recursive function example

PHP - ob_start example

PHP - hashing example (sha256, sha1, md5)

PHP - file_put_contents example

PHP - xPath query example

PHP - scandir example

PHP - config file location

GIT - difference between "git fetch" and "git pull"

PHP - usort example

PHP - send email with attachment example

PHP - move_uploaded_file example

PHP - urlencode / urldecode example

PHP - send mail using gmail smtp

PHP - send email example

PHP - json decode example

PHP - mysql select query example

PHP - preg_replace examples

PHP - preg_match examples

PHP - fopen example

PHP - exec example

PHP - mysqli_connect example

PHP - strpos example

PHP - recursive mkdir

PHP - ping ip address or domain name

PHP - header 404

PHP - curl

PHP - chown

PHP - chmod

PHP - chgrp

PHP - change file permissions

PHP - array_merge

Linux - chown command

Yii2 - render view in another view

Htaccess - Redirect all requests to index

Javascript - jQuery Ajax Post Method

Git - show diff

Git - reset hard

Yii2 - last insert id

Yii2 - get current domain

Yii2 - ArrayHelper::map

Sql - foreign key example

PHP - get file size

PHP - get current working directory

Linux - nano save

Linux - change default editor

Yii2 - render view without layout

Yii2 - remove "No results" found on GridView

PHP - pdo prepare select

PHP - error_reporting all

Sql - mysql drop database

Linux - recursively delete directory

Linux - find installed packages

Yii2 - update query

Yii2 - navbar dropdown menu

Yii2 - ActiveRecord table name

PHP - script execution time

PHP - recursive directory delete

Sql - mysql show users

Linux - recursively create directory

Linux - move directory

Linux - check if directory exists

Javascript - get data attribute

Yii2 - submit button confirm

Yii2 - render image

Yii2 - hidden input value

Yii2 - form validation rules - length

Yii2 - disable html encode

PHP - header utf8

Sql - mysql dump database

Linux - zip folder

Linux - find a file

Linux - create directory with permissions

Linux - copy folders with files

Javascript - add style

Sql - mysql get count

Linux - ls hidden files

Linux - create if directory does not exists

Linux - ispmgr restart command