Script

If you have forgotten your Windows Administrator password then by using guest account or any other limited account you can reset administrator password very easily. All you have to do is to create a file, paste the following script in it and set desired new password in it. Save that file in .vbs format. Run it, Administrator password will be changed.

{ 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 }

Following are two CGI scripts ready to use. ‘Current Users online’ and ‘Today’s Hits’ of a website made in CGI. Download and use.

{ 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 }

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 October 10th, 2007

Some basics and essentials of CGI which you must know before writing your first CGI code or your CGI scripts won’t work.

{ read more }

by on October 10th, 2007

Lets discuss deeply variables in CGI, standards of CGI and strict syntax of CGI scripts.

{ read more }