Blog: Extra-ordinary

Allowed memory size of 134217728 bytes exhausted (tried to allocate 24 bytes)

This is memory limit problem. You can solve your problem several way. Answer 1 :  ini_set(‘memory_limit’, ‘-1′); // it mean memory unlimited Answer 2 :  If you have access to your PHP.ini file, change the line in PHP.ini try with memory_limit = 64M ; Maximum amount of memory a script may consume (64MB) If you don’t access php.ini file please …

Continue Reading

how to redirects with .htaccess ?

The .htaccess file is a small text document that generally sits in the same location as your index.php or index.htm pages. It gives you the ability to interact with Apache on an individual domain-to-domain and directory-to-directory basis. As a configuration file, .htaccess is very powerful. Even the slightest syntax error (like a missing space) can result in your content not …

Continue Reading

Bangladeshi all local newspapers

Daily Karatoa (Bogra) Notun Gantabba (Banga) Shahnama (Barisal) Amader Barisal (Barisal) Barisal News (Barisal) Kaladan News (Burma) Bagerhat News (Bagerhat) Comillar kagoj (Comilla) Comilla Web (Comilla) Comillar Khabor (Comilla) Comilla News (Comilla) Weekly Amod (Comilla) Daily Amader Comilla (Comilla) Chandpur Web (Chadpur) Daily Chandpur Kantha (Chandpur) Chittagong Today (Chittagong) Daily Mathabhanga (Chuadanga) Dainik Azadi (Chittagong) Suprobhat Bangladesh (Chittagong) Dainik Purbokone …

Continue Reading

Deny visitors by IP address in .htaccess

The Allow and Deny directives let you allow and deny access based on the host name, or host address, of the machine requesting a document. The Order directive goes hand-in-hand with these two, and tells Apache in which order to apply the filters. These are very useful for blocking unwanted access, or to restrict access to certain sections of the …

Continue Reading

How to add MIME types in .htaccess?

AddType is specifying that you are adding a MIME type. The application string is the actual parameter of the MIME you are adding, and the final little bit is the default extension for the MIME type you just added, in my example this is swf for ShockWave File. AddType application/x-shockwave-flash swf web hosting account is not configured to server certain …

Continue Reading