Do You Know What is AJAX ?
AJAX : Asynchronous Java And XML
Ajax is a set of programming techniques or a particular approach to Web programming. These programming techniques involve being able to seamlessly update a Web page or a section of a Web application with input from the server, but without the need for an immediate page refresh. This doesn’t mean that the browser doesn’t make a connection to the Web server.
Ajax doesn’t have to use XML, and neither does it have to be asynchronous. Ajax applications can use XML, and they can be updated asynchronously. These are quite common tricks and techniques used to update the page, but they are not tied to these technologies.
Here are the technologies he specifically mentioned:
- XHTML and CSS
- The Document Object Model (DOM)
- JavaScript
- XML and XSLT
- The
XMLHttpRequestobject
In reality, to create an application using Ajax techniques you need only three of these: XHTML, the DOM, and JavaScript. If you do any amount of development with Ajax techniques, though, you will almost certainly need to use all of the technologies at some point.
You’ll also probably need a server-side language to handle any interaction with the server. This is most typically one of the following three:
- PHP
- ASP.NET (Visual Basic.Net/C#)
- Java
This is the Overview of AJAX.
In my Next Post I will write that how to use AJAX in PHP ?
Don’t Forget to leave comment.
Thanks…….
Free Download PHP Books
Hello Friends !
As you all know by this site, I am trying to provide you the knowledge of PHP.
If you are new for PHP then don’t worry friends .
I found some PHP books which will help you to learn PHP easily.
I list some links on which you can find PHP Books absolutely free…
Above links are useful those all the peoples who want to learn PHP and those who wnat to do Powerfull programming in PHP.
If you like this post then Please Comment on this post..
Enjoy the Free Books……
Javascript Effects to Boost your Website
Hello Friends,
I found 27 javascript for image gallery ( Light box effects) which will be very useful in your site and also used in your PHP related projects.
Here’s a collection of 27 powerful – yet easy-to-implement — JavaScript effects to supplement your web page’s interface. These were picked using a “bang for your buck†methodology; meaning that these effects were chosen specifically because they provide high-impact effects with very little effort in installing and using them.
I list down that all below. Continue reading »
Domain Name Availability Checker PHP Script
Hello Friends. Yesterday when i was surfing, i found one very useful PHP Script named Domain Name Availability Chacker.
Domain Name availability Chacker Script is very easy to install if your server is PHP enabled. This script is very simple to use. The domain name availability checker also checks bulk domain names in just a single click.
Just input the desired domain name in the text box and click “check domain availability” button to get the results on the fly.
You have to just copy this script then paste it and run this PHP script.
PHP Script is Shown below : Continue reading »
Preventing SQL Injection Attacks with MySQL and PHP
Most new web developers have heard of SQL injection attacks, but not very many know that it is fairly easy to prevent an attacker from gaining access to your data by filtering out the vulnerabilities using MySQL extensions found in PHP. An SQL injection attack occurs when a hacker or cracker (a malicious hacker) attempts to dump the data in a database table in a database-driven web site. In an unprotected and vulnerable site, this is pretty easy to do.
In order for an SQL injection attack to work, the site must use an unprotected SQL query that utilizes data submitted by a user to lookup something in a database table. The data could be from a search box, a login form or any type of query used to look up data.
For Example:
Generally when you login, the query like this :
SELECT * FROM tbl_name WHERE username=’value1‘ and password=’value2‘
Normally, you would expect a user to submit a username and password. But what if someone used the following instead of a password?
‘ OR ’1′ =’1
That would make the query used to look for the password look like this:
SELECT * FROM tbl_name WHERE username=’value1‘ and password=’value2′ OR ’1′ = ’1′
Your username and password is rightor wrong but this would always return a true.
Prevention of SQL injection
Use the following function to add backslashes to suspect characters and filter any data that is input by a user.
{
if(get_magic_quotes_gpc())Â // prevents duplicate backslashes
{
$string = stripslashes($string);
}
if (phpversion() >= ’4.3.0′)
{
$string = mysql_real_escape_string($string);
}
else
{
$string = mysql_escape_string($string);
}
return $string;
}
You can filter a data like this : Continue reading »
Enabling mod rewrite in XAMPP
URL Rewriting is used for SEO purpose and also for security purpose.
If you use XAMPP and url rewriting is not working, then you have to load mod rewrite in you XAMPP.
Here I write steps to enable mod_rewrite in your system.
- Go to Drive where XAMPPÂ directory saved (in Drive C or D or any).
- Go to this path xampp\apache\conf
- Edit httpd.conf.
- Find the line which contains #LoadModule rewrite_module modules/mod_rewrite.so
- Remove comment(#).
- Then stop XAMPP and Refresh it.

Thats It. Url rewriting is Working.
Enjoy.
How To Start PHP ?
If You are new in Web Developement, Then first you have to learn HTML.
Click Here to study all about HTML.
What Is PHP ?
PHP means – Personal Home Page
PHP is a powerful server side scripting language. Syntex of PHP is similar to C language. PHP is also use OOPs concepts.
PHP code is embeded in HTML.
If you are new for web, then first you have to learn HTML.
PHP code is written as follows :
1 <?php
echo “Hello !”;
?>
You can also write code as :
2 <?
echo “Hello !”;
?>
In some cases 2nd code is not working.(Depend on Server).
So please make habit to write PHP script as 1st code.




