The Wicked Coder

PHP, fun and all

Month: June 2013

Hide PHP errors via .htaccess or PHP code

By default, the PHP display_errors set­ting is set on. You can read more about display_errors at PHP: Error Han­dling and Log­ging Func­tions. There are few impor­tant things that you should know about the error mes­sages that is sent to the browser by display_errors. Usu­ally these error mes­sages con­tains sen­si­tive infor­ma­tion about the web appli­ca­tion envi­ron­ment […]

Usefull Shortcut Key's on Win7

New Shortcut Keys in Windows 7 I was happy to learn that Windows 7 has some new shortcut keys that let you control certain aspects of window management right out of the box.  They’re pretty easy to remember too: [Win] + [Up] – Maximize the current window [Win] + [Down] – Restore a maximized window, […]

Usefull Shortcut Key’s on Win7

New Shortcut Keys in Windows 7 I was happy to learn that Windows 7 has some new shortcut keys that let you control certain aspects of window management right out of the box.  They’re pretty easy to remember too: [Win] + [Up] – Maximize the current window [Win] + [Down] – Restore a maximized window, […]

Access Pages Without the PHP Extension Using .htaccess

There are a number of ways to make “clean URLs” work on your site, but this one is pretty straight forward. It allows you to access /any-page.php by simply going to /any-page. Just place the following into your .htaccess file (and make sure that mod_rewrite is enabled): RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^([^\.]+)$ $1.php […]

Simple Calendar Script

Have you ever wanted to have a calendar or use a calendar for your own CMS as archive? here is a simple code to make your own calendar. You can style it with own CSS. You can checkout the demo in here Calendar   >>>  

Tajmohol By Ark

The Legendary Hasan played some awesome songs. [ca_audio url_mp3=”http://www.radiobg24.com/song/ark/tajmohol/Ekaki.mp3″ url_ogg=”” autoplay=”true” html5=”true” skin=”regular” align=”center”]

WordPress HTML Site Map without plugin

Before moving forward I would like to clarify the difference between “XML Sitemap” and “HTML Site Map”. So XML Sitemap is an XML file that lists URLs for a site along with additional metadata about each URL, so that search engines can more intelligently crawl the site. Whereas HTML Site Map is an (X)HTML regular […]

The Wicked Coder © 2014