Reset Mysql Root Password

Terrible, just setup a new server, then i forgot root password for mysql database. So i need to reset the root password. This is the way i do: 1. Login to our server machine as root (system administrator). Yes! we must have root access to our machine. 2. Shutdown...

PHP-GD: Resize Transparent Image PNG & GIF

By default, you will get black background if you resize a transparent image. To fix it, you need set alpha channel imagecolorallocatealpha to 127. With imagecolorallocatealpha, it will allocate a color for an image. Usage: int imagecolorallocatealpha ( resource image,...
Page 2 of 3123