"John T" <johnt / mssglobal.com> writes: > I gave the code given in the book(I am attachin it with the mail) > and I got the following out put > > (offline mode: enter name=value pairs on standard input) > > and it came to a prompt asking me to enter name value pairs. > Please advise This is code that normally runs under control of a web server. As part of the web server environment, you get given a list of fields in the form that the user entered as name/value pairs. When you run the code outside of a web server, it allows you to simulate this by entering the names and values interactively. (Clever, eh?) If you don't want to supply any, hit an end-of-file (^D normally) Regards Dave