Azharkamar.com

PHP

29 Feb 12

How to Increase the Maximum File Upload Size in WordPress

My blog has been using the Download Monitor WordPress plugin for about 2 years now and I’ve been loving it since. So when a client wanted a function whereby admins can upload files from the backend for registered users to download from the frontend, I immediately knew which WordPress plugin to turn to. Read more

24 Nov 11

Magento – Modifying the Default Message Alert Box to look like a Popup Dialog

Magento developers out there, here’s a simple way to replace the default error/success notification box (the message that appears after you submit forms) to one that looks like a modal dialog popup using some simple JavaScript and CSS. Read more

10 Nov 11

How to Edit the Footer in Your WordPress Backend

Here’s a simple way to modify the footer in your WordPress backend, just by adding a function in your theme’s functions.php file. You can change to any text you want or simply remove it completely. Read more

24 Oct 11

SQL Query in phpMyAdmin to Change All Passwords to MD5

Hello there folks! Ok, so here’s the story. I had to batch create Joomla users (about 4000 of them) from an excel file that my client provided. So I created all the users successfully (using phpMyAdmin), but there was one problem. Read more

2 Jun 11

How to Check for Home Page in Joomla 1.6 using PHP

I was building this Joomla 1.6 site for a client and I needed to display a banner image only on the home page. So I was thinking – Use the Banners component, or do some coding instead? Components can be boring and I love coding (I think) so I chose the latter. Read more

4 May 11

How to Allow Users to Submit Links to Your Website – WordPress Plugin

Allowing users to submit their links to your website sure is an effective way to increase traffic to your site. Targeted traffic, we hope. And minus dealing with those uncivilized spammers. Read more

17 Apr 11

2 Useful WordPress Admin Hacks

I’ve been using WordPress for just almost 2 years and there are generally 2 features that I would love to change in the WordPress admin. First is the autosave feature and second, the post revisions. These are great features, by the way, but they can be further tweaked for more comfort. Read more

8 Mar 11

Left Click ‘Save Target As’ PHP Script

Here’s an easy peezy PHP script to mimic the Right click > Save Target As… (or Save Link As, Save Image As, etc.) action in browsers. This script allows you to simply left click and the file dialog box will pop out. Read more

10 Oct 10

Get Selected Value from Drop Down List – Fabrik, Joomla

I usually create my own PHP scripts for my Fabrik forms, because a lot of the websites I develop require massive customization for most of the form actions.

Things were ok, until I came across this damn drop down list. Read more