Jan 28
Working with images in PHP is fun and at the same time hard for it requires a thorough understanding how certain libraries work especially PHP GD Library. GD Lib doesn’t come by default in your webhosting account. You have to ask your webhost’s tech support to compile and build it for you. You can check by using phpinfo();
What is the GD library?
GD is an open source code library for the dynamic creation of images by programmers. GD is written in C, and “wrappers” are available for Perl, PHP and other...
Read the rest of the story »
Jan 28
Most of the time, we tried to get an image in the web by just right-clicking the image in the webpage then select “Save Image As…” in Firefox or “Save Picture As…” in Internet Explorer. This is the most common and easiest way to download the image.
Now, there comes a time that you will need to download the image using your PHP script dynamically then save it in our server. How is that possible? With the use of PHP’s file functions, fopen(), file_get_contents(), and fwrite() , we will be able to just do that. These two scripts i will be sharing...
Read the rest of the story »
Jan 22
“Go home and plant camote!”
This has been the expression of our old folks to those persons who’s unfortunate to make it in the real world. On the contrary, this all along isn’t true. Planting camote might save many lives, including myself, you and our children.
Below is an article from my yahoogroups regarding a possible cure for the dreaded killer Dengue. It has no approved claim from our government (as if they care!) but the testimonials of these persons would prove otherwise. I am not endorsing this but who knows, when a life of your loved ones...
Read the rest of the story »
Jan 18
I wanted to display the youtube video of Renaldo Lapuz in his AI 2008 Dallas audition as i’d forgot to place a good video plugin when i first installed this blog. So, i googled it and found a simple and nice plugin from Skarcha. It’s easy as 1-2-3.
Here is the instruction on how to use this wpvideo plugin:
1. Uncompress downloaded...
Read the rest of the story »
Jan 18
Renaldo Lapuz, the last but certainly not the least - i reckon the best so far, who auditioned in Dallas, Texas in the 2008 American Idol pre-Hollywood qualifying round sung his original composition, We’re Brothers Forever, that made Paula, Ryan and Randy dance and sing with him. I think this is the first time they did that.
“I am your brother, your bestfriend forever… singing the songs, the music that you like….”
“We’re brothers ’til the end of time, together or not you’re always in my heart….”
OK…...
Read the rest of the story »
Jan 17
Sun Microsystems ( yup, the company who owns JAVA) plans to acquire MySQL AB. You’ll find it in their website and blog.
This came much to the surprise of the MySQL community - users, developers, members, partners, employees, et. al. - considering MySQL is one of the best free OpenSource software & application in the industry today. A mixture of various feelings from excitement, worry, uncertainty, proud, to anxiety stirs...
Read the rest of the story »
Jan 16
Directory browsing could put your website in trouble. A malicious user with even a simple knowledge in security hacking (yes, there are lots of hacking tutorials 101 out there in the net) can wreck havoc in your site leaving you pulling your hair out.
This simple tips will allow you to disable directory browsing. Please note that this only works in Apache web servers. Apache web server allow directory browsing by default. It’s always good to disable directory browsing in security aspect. To disable directory browsing in apache web server you need to edit the httpd.conf or .htaccess
Disable...
Read the rest of the story »
Recent Comments