Author: Prabhu Balakrishnan
-
Troubleshooting Common DNS Misconfiguration Errors
Understanding DNS & Troubleshooting Common DNS Errors DNS (Domain name system) may not be known to most people who use internet but it is the real backbone and the invisible force driving the whole internet without which we would be seeing numbers and IPs. The whole meaning of domain names exist today just because of…
-
Perl Net DNS Tutorial for Querying DNS Servers
Perl Net DNS Tutorial for Querying DNS Servers Perl is really a very powerful language when it comes to low level system programming requiring intensive processing. Perl Net::DNS library can be used to write powerful web applications involving DNS lookups and queries. Before you start this perl programming you want want to understand certain dns…
-
Using Dig tool for DNS lookups and Nameserver query
Using Dig tool for DNS lookups and Nameserver query Dig tool in linux has become so important tool for querying dns servers and fixing many dns related issues. I will show the easy way to use dig tool for complex dns queries. Lookup DNS Nameservers Let us see what nameservers (NS records) are availale for…
-
HOWTO: Install PEAR for php in Linux
Install PEAR for php in Linux It is very easy to install PEAR package for php. It lets you to install many many php extensions easily without compiling the source packages. If you get pear – command not found then it means pear is not installed in your server. To install it just follow the…
-
Automatic Face Detection in Photos with PHP
I have always wondered how to detect faces automatically with php script. I have seen in many photo sharing and social network sites automatically detect a face and tag a name after being uploaded. In this article, i will explain how possible this task can be achieved with simplicity with OpenCV and PHP Facedetect extension.…
-
How to filter & escape data from Injection attacks in PHP!
Ask any security expert! He will say you should always filter POST and GET data by escaping them before insertion into the database. In that way your scripts can be safe from SQL injection attacks. Many php programmers are so lazy and just directly insert the POST data without filtering it like [php] mysql_query("INSERT into…
-
Quick & Easy Form Validation Tutorial with JQuery
Form validation has become never been easy like before. If you havent heard of jQuery, then its time to get know now. Jquery is an open source set of javascript library, that brings user interactivity in web applications so easy even for a beginner with just few lines of code. In this tutorial, i am…
-
how to call a php script from javascript?
I have always wondered how to call a php script and send GET data from javascript code. It was very important for me as in many projects i have worked i never wanted to header redirect to original php page after delete, edit operations which is really a mess. jQuery has revolutionized the way we…
-
how to check if image loaded or not in javascript?
If you are having a webpage with large sized images, you would notice the browser taking long time to load those images and showup. A good idea would be show a loading animation until large photos load. There is a way to check whether the images have been loaded or not in javascript. Using the…
-
how to change hostname in linux centos?
how to change hostname in linux Very often you might want to change the hostname in your linux server. The hostnames are usually written like… vps.domain.com server.domain.com box.domain.com web.domain.com and it is a very good idea to follow this hostname format. To change hostname all you have to do is modify 2 files 1. Open…