Wednesday, May 25, 2011

Maximum length for the POST and GET methods

Maximum length of the POST is defined in the PHP ini file. Mostly it is 128M. To know the maximum POST length check your ini file for post_max_size

Maximum URL length is 2083 characters i.e. maxlength in GET method.


Monday, May 23, 2011

Geography of India, India Geography Map, India Boarders, India Coordinates, ancient india geography

Continent     Asia
Region     Southern Asia
Indian subcontinent
Coordinates     21°N 78°E
Area     Ranked 7th
3,287,263 km2 (1,269,219.3 sq mi)
90.44% land
9.56 % water
Borders     Total land borders: 15,106.70 km (9,386.87 mi)
Bangladesh: 4,096.70 km (2,545.57 mi)
China (PRC): 3,488 km (2,167 mi)
Pakistan: 3,323 km (2,065 mi)
Nepal: 1,751 km (1,088 mi)
Myanmar: 1,643 km (1,021 mi)
Bhutan: 699 km (434 mi)
Afghanistan: 106 km (66 mi)
Highest point    Kangchenjunga 8,586 m (28,169.3 ft)
Lowest point    Kuttanad −2.2 m (−7.2 ft)
Longest river     Ganges–Brahmaputra
Largest lake     Chilka Lake



Friday, May 13, 2011

Force files to Download using HTACCESS

Add the below code in HTACCESS file to show download option whereas in PHP we can use header functions to give the download option for file.

AddType application/octet-stream .csv
AddType application/octet-stream .xls
AddType application/octet-stream .doc
AddType application/octet-stream .avi
AddType application/octet-stream .mpg
AddType application/octet-stream .mov
AddType application/octet-stream .pdf