Check if the current user is Administrator or no. This snippet helps in displaying special information to Administrators only.
Create new theme file without FTP using WordPress admin
Learn how to Create new theme file from WordPress admin without FTP access. Not only PHP but you can create any kind of file.
WordPress auto resize images on upload
Learn how to auto resize images on upload in WordPress. Stop using the buggy third party scripts and keep your blog safe.
How to create sliding feedback form using jQuery
Learn how to create the sliding fancy form which shows up from your website’s left or right side. Few lines of code and you own it all.
Increase logout or session time in phpmyadmin
What can be more annoying than logging repeatedly into phpmyadmin while you are working on a project. So in this post I am going to discuss how you can increase the logout time for phpmyadmin. The default session storage method is via cookies, hence we need to increase the logout
Set the User Agent With PHP cURL
Learn how to spoof your cURL request to imitate as a normal browser request.
Batch resize using ImageMagick
Know how to batch resize images in a folder using ImageMagick. You can also store new images in a different folder, so that the original ones do not get overwritten.
PNG Transparency with ImageMagick
Know how to make the transparency work in ImageMagick using command line.
How to pass data into Facebook iFrame application
Know how to pass data into iFrame of the facebook application. It is important when you are visiting subsequent pages within the app.
mysql.sock path in Mac OS X
The default path on which the MySQL starts is service is different from the one defined in PHP. There are two ways to correct it, read more..
Add PHP GD support to apache in Ubuntu Linux
PHP GD library is used to created images on the fly. This library is not installed or activated by default when you first install Apache on Linux. But GD library is used widely while developing websites.
Creating dynamic menu with re-order option in wordpress
WordPress is a powerful CMS for a website and it provides features which makes it easy to use CMS. Navigation or Menu is one of the key point of the website. People tend to change Menu names, links, reorder them ever now & then. In a normal website it is
Update your Facebook status using PHP and Graph API
Update your Facebook status using PHP and Graph API
Check if PHP is running in safe mode or no
Learn how to check if the PHP is running in Safe mode or no.
Check installed PHP extensions via command line
How to Check installed PHP extensions via command line