Check if the current user is Administrator or no. This snippet helps in displaying special information to Administrators only.
Learn how to Create new theme file from WordPress admin without FTP access. Not only PHP but you can create any kind of file.
Learn how to auto resize images on upload in WordPress. Stop using the buggy third party scripts and keep your blog safe.
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.
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
Learn how to spoof your cURL request to imitate as a normal browser request.
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.
Know how to make the transparency work in ImageMagick using command line.
Know how to pass data into iFrame of the facebook application. It is important when you are visiting subsequent pages within the app.
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..
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.
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
Learn how to check if the PHP is running in Safe mode or no.
How to Check installed PHP extensions via command line