nicedreams,

thanks for the PHP code. it looks like it's doing basically the same thing that my CGI script is doing. not sure if the PHP would be more load intensive or the CGI script...