Searching a string within a table is quite easy, but searching within multiple tables in a database need a little trick. I know it’s not the good one, […]
Shorten Code for Inserting Random Invisible Character
This post is related correction to my previous one, inserting invisible random character inbetween words to avoid copy-paste doer. I wrote a function to insert invisible random character […]
Invisible text using PHP
This time, let’s try to insert single character with same color as the background inbetween words. This method will avoid visitor to copy paste text from your homepage […]
Create Thumbnail on The Fly Using PHP and GD
Here’s a cool script I use to resize picture on the fly. I don’t wanna loose any space in my server, so instead of creating a real thumbnail […]
Kilabret – The Reverse Text generator
Started from strange topic in diskusiweb.com, I write down this tiny script to reverse and un-reverse the text written there. If you type kamen rider, it will return […]
PHP-CLI Introduction-Part-One
PHP CLI? What kinda food is that? Don’t get mad with any “PHP variation” because PHP-CLI is a very simple thing. CLI stands from Command Line Interface. That […]
Silly Me: MD5 Feature on PHPMyAdmin
Today, I lost forget a password that I stored in my local database (MySQL). The password was hashed using MD5 so I can’t read it using PHPMyAdmin. So, […]
Resize Image And Create Thumbnail With Aspect Ratio
Here’s a little script how to create thumbnail with PHP and GD library and still keeping aspect ratio. You only need to specify new image’s maximum width and […]
PHP Already Have My Function Listed Here
I’ve written a function to fetch a file from remote server and store it into a string here: https://dev.sandalian.com/baca/4/get-content-of-url-into-string-variable.htm. Then today I realized that PHP already have that […]
Rename Files Into All Lowercase
I wrote this script when my Windows 98 screwed up my filename. It was index.php and changed into Index.php, in a big number of files within a directory […]
Copy Remote File Into Local Directory
Here is a little function used to copy file from remote directory (web server) into our local directory. < ?php /* This function used to copy remote file […]
Paralel Process In PHP
In my own experience, paralelizing process in PHP is alot efficient. Not saving your time, but it will save memory usage. I use paralel method when working with […]