Why do you read a single character from 'index.htm', which
you then discard? Where's MYFILE coming from? Why are you
opening the same handle you read from in your condition for
writing in the body of the while?
Abigail
Comment on Re: How to find SELECT tag in HTML and print its values?