Follow Me:

Wednesday, 13 May 2015

What is JSON? JavaScript Object Notation (JSON) is a lightweight data-interchange format inspired by the object literals of JavaScript.  JSON values can consist of:   objects (collections of name-value pairs)   arrays (ordered lists of values)   strings (in double quotes)   numbers   true, false, or null JSON is language independent. JSON with PHP?    After PHP Version 5.2.0, JSON extension is decodes and encodes functionalities as default. Json_encode  ...

Friday, 1 May 2015

Nginx: 413 Request Entity Too Large Error and Solution   My application is running nginx as a frond end to php based Apache server. My applicatio lets user upload images upto 2MB in size. When users trying to upload 1.5MB+ size image file using nginx reverse proxy, they are getting the following error on screen:     Nginx 413 Request Entity Too Large You need to configure both nginx and php to allow upload size. Nginx...