PHP/Ajax

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.

{ read more }

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.

{ read more }

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.

{ read more }

by on February 24th, 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.

{ read more }

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.

{ read more }

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.

{ read more }

by on October 25th, 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.

{ read more }

by on July 9th, 2007

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

{ read more }