another thought......<br>If your program runs from a command prompt and does it's job, but it will not run via a CGI call through a web browser, you may have a permissions problem. When you run the code from a command prompt, the program has all the permissions you have. However, when you ask the program to run via a web browser, you are no longer the user. The web browser daemon is the user. For security reasons, such daemons are usually segregated and restricted to their own little areas in file systems ( eg htdocs and cgi-bin). <br><br>Does the program(web daemon) try to read from or write to a file that the web daemon does not have sufficient permissions to use?????<br><br>happy hunting :^) <p> <br><a href=mailto: > </a><br><a href= > </a><br> keep the rudder amid ship and beware the odd typo