Can you telnet in and run the script?? Do you have a way to execute the script to see what the "real" error message is. It might be as simple as not starting out with the content type header. You'll never know unless you can execute the script via some command line interface. --- Anthony Baratta President Keyboard Jockeys