Solved: xampp new security concept issue
When I try to access phpmyadmin after installing xampp in my linux system, I stuck with this error: New XAMPP security concept: Access to the requested object is only available from the local network. This setting can be configured in the file "httpd-xampp.conf".
Easiest way to select all checkbox in javascript / jquery
This simple snippet can be used to select all checkbox. Both jquery and javascript method given, choose whatever suits to you.
PHP Email Validation - SMTP, MX Record and Regular Expression
We sometimes need to validate the integrity of given email id. The easiest way we have is just sending a verification mail to the given email id and asking the user to click on the link in that email. But other than that we have three more ways, that is, SMTP Email Validation, MX Record Check and Regular Expression&
Convert text to image in php
Basic idea behind converting text to image is to avoid spammers grabbing important data like emails, phone numbers etc. This simple php script convert text to image dynamically, Just have a glance at this script.
Find the difference between two dates
This small php snippet will help you to find the difference between two given dates
Prevent submit on page refresh
Reloading the page after form submission in POST method, browser will always display a warning whether it can resend same data to server or not. For average user, this information is bit technical and it might confuse him.
Protect index files from hacking
Hacking is a very broad topic to discuss. Here I'm going to discuss about one kind of attack that is mainly targeted on website's index files