PHP-GD: Create Image from Text

Some people want to hide their text into image for any reason. As example, to avoid spambot steal their email address, or to generate dynamic images content. Its simply done with PHP and GD Library. See this simple function: function imgfromstring($string){ $font = 5;...

fixing monitor problem on zoneminder

After installing Zoneminder, some people (including me) reported that they had a problem with monitor. A black screen, or even no picture / video at all. From logs, it’s usually said: “Can’t get shared memory id…” or “Shared memory...

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,...

Google has change the Google Search Favicon

Baru sadar, waktu lagi nyari sesuatu di Google, ada yang beda pada tampilan halaman Google. Favicon Google berubah. favicon itu yang ada disebelah alamat URL pada address bar, dan juga biasanya ada di tab browser. Biasanya selama ini favicon Google adalah huruf G...
Page 2 of 712345...Last »