Apache vs. Lighttpd on PHP

Posted by Jetlogs @ 10:30 pm
Category: PHP, Technology

Let me share with you my research on the web about the advantages and disadvantages of Lighttpd vs. Apache, and how it might possible affect your applications ins PHP. The following article is a compilation of what I have found on different sites on the net.

Lighttpd or “Lighty” is a lightweight webserver made with speed and load balancing in mind, Unlike Apache which comes with a lot of modules that consumes a lot of server resources. One of the features of Lighttpd is that it is an event-driven web server. It uses select/poll/epoll/kqueue from a single process/thread.

Now for the Pros and Cons: Read more »


PHP: Server Variable ‘PHP_SELF’ is Unsafe

Posted by Jetlogs @ 9:32 am
Category: PHP, Web Development

How many times have you encountered PHP tutorials where it had used the predefined variable $_SERVER['PHP_SELF'] to send the form action to itself? A simple search from google returns about 33,500 results. Read more »


Passing Input Arrays in PHP

Posted by Jetlogs @ 12:50 am
Category: PHP, Web Development

It seems that many people have been stumbling on my website also trying to find out how to pass input arrays in just plain PHP. For this tutorial, all you need to have is the basic knowledge of using PHP. I won’t deal with form / input validations too much, but here is how to do it in short and simple steps:

The first step we need to do is create our form which will pass a multi-valued parameter. For example, a checkbox list or a multiple-select list. For our example, we shall use a checkbox list. Here is what it would look like: Read more »


RIP PHP4: “End of Life” announcement

Posted by Jetlogs @ 5:37 pm
Category: PHP, Web Development

The PHP official website has just announced an “end of life” statement for PHP 4. What the statement basically says is that development for PHP 4 will only be continued until the end of this year. Support for PHP 4 will basically end this year on December 31, 2007. However, security fixes will still be released for PHP 4 until August 8, 2008.

This will cause a major impact in the current server set-up being used today. Currently, a majority of hosting companies and servers still uses PHP 4 installed by default. Will this cause a shift in the hosting companies to migrate to PHP 5? This year is going to be a turning point for web scripting languages. This will be the perfect opportunity for other scripting languages such as Python and Ruby to finally catch up. Will the balance of power finally shift? Only time will tell


jQuery: Preloaders Using the Form Plug-in

Posted by Jetlogs @ 12:05 pm
Category: PHP, Web Development, jQuery

For today’s article, I’m going to show you one of the many ways of implementing preloaders using jQuery. If you’re not familiar with preloaders, they are basically the loading text or image that appears while content is still under the processing state. An example of this would be the red Loading… on Gmail. For this tutorial, I’m going to use a simple makeshift preloader that was done under 5 minutes:

For this article, you need at least basic knowledge of jQuery and the use of the jQuery Form plug-in. Read more »


« Previous PageNext Page »
  • Archives

  • Donations

  • Social Bookmarks

  • Jetlogs.org
    Some Rights Reserved 2007
    Creative Commons License