PHP Tutorials, Tips & Tricks

PHP is a widely-used general-purpose scripting language that is especially well-suited for Web development and can be embedded into HTML.

WordPress – Allow Contributors to Add / Upload Media

WordPress – Allow Contributors to Add / Upload Media

In WordPress by default the Add Media functionality (called Capability in wordpress terms) is disabled for users with Contributor role. If you are hosting multiuser wordpress site where users with contributor roles logs in...

How to Resize Image Dynamically in PHP

Today almost every website you visit show content in form of thumbnails. Thumbnails are nothing but images displayed next to the content. Be it News website or a blog, displaying images next to content...

WAMP Server not getting started problem

WAMP Server not getting started problem

I was trying to start WAMP server on my local machine and strangely it was not getting started! Everytime I tried to click “Start All Services” it just ignored it. I checked Windows Logs...

Dynamic unread count Favicon in PHP

Dynamic unread count Favicon in PHP

Gmail has just launched small but really useful feature in Gmail Labs. Dynamic Favicon showing unread email counts directly in your browser tab icon. If your browser window has lots and lots of tabs...

Password Protect your webpages using htaccess

Password Protect your webpages using htaccess

Recently a serious security flaw was discovered on one of my webpage where a folder which was intended to be accessed just by admin was open for access to anyone. I somehow ignored that...

How to: Setup Multiple Virtual Hosts in WAMP Server

How to: Setup Multiple Virtual Hosts in WAMP Server

WAMP, or Windows Apache MySQL PHP has been a very server for lots of PHP developers who uses Windows environment. These are mainly the freelancers who mostly uses laptops as their local development machines....

Knowing $_SERVER PHP Variable in a better way

Knowing $_SERVER PHP Variable in a better way

$_SERVER array in PHP is very useful in getting lot of information about the PHP script in execution as well as the server/request details. $_SERVER is an array containing information such as headers, paths,...