Category: PHP

PHP array_sum() Function

It calculates the sum of values in an array and returns the sum of values in an array as an integer or float. PHP versions prior to 4.2.1 modified the passed array itself and converted strings to numbers (which often converted them to zero, depending on their value) Parameter Description array Required. Specifies an array […]

How to Integrate Payumoney Payment Gateway in PHP

In this tutorial i am going to explain How to Integrate Payumoney Payment Gateway in PHP. Most of thing are already in PayU documentation i am just going to explain it in step so you will easily integrate without reading whole document. You may also like Paypal Payment using PHP and How to integrate Paypal payment gateway using […]

How to validate files using bootstrap validator

bootstrapValidator.js plugin gives client side validation without page refresh. We can use simply. validator.js plugin we can add validation in our PHP project, or any framework like laravel framework, codeigniter framework, symphony framework etc. This is very interesting and simple. You may also like How to Remote call using bootstrap validator and How to validate bootstrap form using […]

PHP array_slice() Function

PHP has a built – in function, array_slice() , that you can use to extract a range of elements from an array. To use it, pass it the array to extract the slice from, followed by the position of the first element in the range (counting from zero), followed by the number of elements to […]

PHP crypt() Function

The crypt() function returns a hashed string using DES, Blowfish, or MD5 algorithms. This function behaves different on different operating systems. PHP checks what algorithms are available and what algorithms to use when it is installed. Syntax

PHP hebrevc() Function

The hebrevc() function converts Hebrew text from a right-to-left flow to a left-to-right flow. It also converts new lines (\n) into. Tip: hebrevc() and hebrev() can convert Hebrew logical text (the Windows encoding) to Hebrew visual text. Hebrew visual requires no special right-to-left character support to be displayed properly, making it very useful for displaying […]

How to get year month day difference between two dates using php

There are a simple way to get the number of year month and day between two dates in PHP. Using the formula, you can easily count year month and day between two dates in PHP. You may also like Two date get hour and minute using php and Get total minute and second difference between two dates using […]