Squid Cache – Optimize Web Delivery

by Hiroshi on 27-02-2009

Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator. It runs on Unix and Windows and is licensed under the GNU GPL.

{ Continue Reading }

PHP Register Globals Explained – Headers Already Sent – Undefined Variable

by Hiroshi on 19-04-2008

There are some situations where simple code may work properly in case of PHP online or at localhost if register_globals are on. But not necessarily if register_globals are off.

Warning: Undefined Index - Use of Undefined constant selected
Warning: Header already sent

Sometimes messages like above that header already sent or undefined variable/ index can appear.

{ Continue Reading }

Get Dynamic And Static IP Address Of Visitor In PHP

by Hiroshi on 14-03-2008

Suppose we have a website and we want to get the user IP address and want to display it for him or we want to store it and get a log for the hits of website. Also sometimes users may share same IP address for internet sharing & usage so his PC's IP will be something like 192.168.0.2 (Proxy Case) and actual IP address which he is using for internet, shared by his internet service provider will be different. We can find these both IP by this simple example of PHP code.

{ Continue Reading }

PHP Easy Most Database Connection

by Hiroshi on 24-02-2008

Setting up a database connection can be a difficult task. Search Google and the scripts you will find will amaze you. These are lengthy and boring. Here is the easy most method to create a dbconnection for PHP and mysql.

{ Continue Reading }

PMB Is Out For Download – PHP MySQL Records Management CMS

by Hiroshi on 16-12-2007

pmb

PHP Personal Management Book is available for download, absolutely free. PHP Personal Management Book is a complete PHP CMS for personal record management and covers more than just Address Book or Phone Book requirements. The purpose of this software is to enable you manage upcoming events which matter to you most and help you remember and manage your contacts and expenditures in well-organized manner. PMB is PHP based open source absolutely free software for Home PC or Online Web Application usage.

{ Continue Reading }

Developing A PHP CMS – Coding & Programming

by Hiroshi on 04-12-2007

I will have to admit. Programming is a very sensitive and careful work to do. Its been quite some days while I have been developing my new but first open source based, php full content management system. Even if I did write down all the points which I will be going to cover in this management system but as the project went on I had to drop some code and add some new by time to time. I like to do PHP stuff. Its my one of many interesting things to do.

{ Continue Reading }

Auto Populate Year Range in PHP

by Hiroshi on 25-10-2007

Building a 'Year drop down list' can be a boring task. And you have to change it manually after every year. Douh! Here is a PHP easy way to auto populate years list and you can adjust the starting year.

{ Continue Reading }

Date and Time in PHP

by Hiroshi on 09-07-2007

Display date and time at your website using simple PHP script.

{ Continue Reading }

PHP Downloads

by Hiroshi on 08-07-2007

Not many developers know this but PHP originally stood for Personal Home Page. PHP (Hypertext Preprocessor) is an open source programming language. PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. I will share some of the best resources with you relating to the PHP programming for your development needs here.

{ Continue Reading }

Why PHP 5 Rocks

by Hiroshi on 08-07-2007

PHP 5, is the first major release of PHP in years to focus on new features. While one of the key goals behind PHP 3 was increasing PHP/FI 2.0's performance and efficiency, at the same time it introduced a whole new set of functionality. That was back in 1998. PHP 4 provided another speed burst, as it introduced the Zend Engine. However, the majority of PHP 4's changes were behind the scenes. Those features allowed more people than ever to use PHP, but it didn't provide them with more tools to build their sites. Finally, after six years, the community has revisited the legacy baggage that made tackling some problems unnecessarily difficult.

{ Continue Reading }