by H.Thirukkumaran | Aug 8, 2017 | tip of the day
You can use Chrome browser on Linux. Chromium is an open source version of Google Chrome and it does not have Google’s proprietary features. May be more privacy. To install it run the command sudo apt-get install chromium-browser.
by H.Thirukkumaran | Aug 8, 2017 | tip of the day
You can use array_reverse function to reverse the elements in an array in PHP. This saves you from writing a loop and copy it to another array.
by H.Thirukkumaran | Aug 8, 2017 | tip of the day
You can use asort function to sort an array by value in a key value pair array. To sort the array by value in descending order use arsort.
by H.Thirukkumaran | Aug 8, 2017 | tip of the day
The application must not lock log files unnecessarily. This practice will help you run multiple instances of same application without any clash.
by H.Thirukkumaran | Aug 8, 2017 | tip of the day
Always encode input text by user from a web page. This will help prevent script injection attack and is a good practice from security point of view.
Recent Comments