If you would like to use same PHP code to handle both AJAX and non-AJAX requests, here is a quick and simple trick that you can use to check if the incoming request is AJAX. For our trick we will use a HTTP header called HTTP_X_REQUESTED_WITH. It is supported by all modern browsers that support AJAX. Therefore, it should work in 99% of cases.Continue reading
Posts Tagged with "java script"
There are exist different ways how to protect your email address against email harvesting by spam bots. However, none of those methods can not give you 100% protection!
In this post I will show you one of those methods. This method I have used by myself and it works well as I can see.Continue reading