<tutorialjinni.com/>

startWith in PHP

Posted Under: PHP on Aug 18, 2018
startWith in PHP
PHP snippet function to check whether a string startWith with a specified string or not. Function returns Boolean. This function can also handle case sensitivity.

Decrypt String Using PHP

Posted Under: PHP on Aug 18, 2018
Decrypt String Using PHP
PHP snippet to decrypt AES-256 encrypted string with 32 Bytes key. In order to use decryption php_mcrypt extension need to be installed and activated.

Encrypt String Using PHP

Posted Under: PHP on Aug 17, 2018
Encrypt String Using PHP
PHP snippet to Encrypt string using AES-256 encryption algorithm with 32 Bytes key. In order to use encryption php_mcrypt extension need to be installed and activated.

Install PHP mcrypt Extension on Linux

Posted Under: PHP on Aug 17, 2018
Install PHP mcrypt Extension on Linux
In order to use encryption and decryption in PHP, we need to inatall PHP extension mcrypt.

Find all occurrences of a String in a String in PHP

Posted Under: PHP on Aug 16, 2018
Find all occurrences of a String in a String in PHP
This PHP snippet will list all indexes of a sub-string in parent string.