php

PHP is one of the most popular server-side scripting and HTML embedded languages which is designed primarily for web development but also used as a general-purpose programming language.

Login with Facebook using PHP
php

Login with Facebook using PHP

Hmm, If your website has a customer base section or any kind of customer interaction activity, then you must need to add login with Facebook.

Remove a specific item from an array in PHP
php

Remove a specific item from an array in PHP

Some ask for a more-specific post about removing items from your code, here’s an easy way to remove a specific element from a PHP array by key instead of index.

Explode string by last occurrence and get first part
php

Explode string by last occurrence and get first part

Some of the cases we need to split any string or it may be my URL to split. Now I am explaining to you, how to explode the string by the last occurrence at getting the first part of the string in a single line. This who;e process will be done using Explod

How do you Encrypt and Decrypt a PHP String
php

How do you Encrypt and Decrypt a PHP String

Mcrypt is a replacement for the popular Unix crypt command. crypt was a file encryption tool that used an algorithm very close to the World War II Enigma cipher. Mcrypt provides the same functionality but uses several modern algorithms such as AES.

How to find prefix and suffix of the word in javascript
php

How to find prefix and suffix of the word in javascript

First of all, you have to know that how to get the currently selected text on the page by using the JavaScript. So, Javascript provided a method for retrieving the current selection of the page by using window.getSelection().

How to find minimum value of an array
php

How to find minimum value of an array

It's very simple to find the minimum value of an array using foreach loop. Create an array with some numeric value. Now create a temporary variable $temp in which stored array’s first index’s value i.e 45.