Here we going to know about the JSON library in php. JSON is one of the client side scripting language used for send or get the large amount of data easily. It also known as light weight code. JSON is using in many popular sites such as google, Facebook etc. We can pass or save the data with out custom parameters. Below is a small example of json_encode() and json_decode()

Image or file uploading is very simple in php. By using "move_uploaded_file" we can move an image or file to our folder. We can copy the uploading image or file to our root folder by this function. Here is the simple funtion for uplad image in php. In this article we going to upload the file, check the extension of the file and validate, rename the file, move to folder, save the file name in db, get image to display.

Mohamed Asif Am a web developer i love web designing, web developing. for any tutorials mail me at asif18[at]asif18.com