A Tuesday deadline has been set in which several leading open-source PHP projects plan to stop supporting older versions of PHP in upcoming releases. [
Read More ]
When developing web applications, it is very common that you will encounter to deal with a list of different file formats. I have been doing web development for about one and half years, the file formats that I have encountered are pure TXT file, CSV, XML, INI, and different types of image file formats, like GIF, PNG and JPG. The common tasks to deal with those file formats are basically reading and writing to them. Since they are so common for day to day web development, it is not surprised that PHP comes with a wide variety of both built-in functions and external libraries to connect to, and work with, almost any file format you can name. [
Read More ]
According to survey by SitePoint, there are about 67% of developers never store image in the database, and only 1.4% saying they always do. So what is the difference between two methods of storing images? What are the pros and cons of each [
Read More ]
After working on a few projects (including the site you are viewing now), it came to clear in my mind that the need for the script to handler automatic image resizing is absolutely necessary. I have beening thinking about it when I was building the photo gallery for this website, I found some useful functions from www.php.net, however, I was unable to run those functions from my development environment. Until now I realise that in order to make the image functions working with PHP, the PHP has to be compiled with GD library and JPEG-support. [
Read More ]
You're off to querying your database using MySQL. So far you've pulled 5 queries that are hanging out waiting to be used. Is this a big deal? Not really. [
Read More ]