put print "Content-type: text/html\n\n"; on top of your script, and you should be able to start working. hope this helps. pietro.