3 questions I guess. I'm writing a SYSV LP script in PHP so that I can have a print-to-database (MySQL) solution. First question: Am I wasting my time? Are there already canned solutions? (LPRng perhaps?) Second question: How do I go about opening file descriptors by numeric referance? (LP calls script with file descriptors for passing back debug and status info). Third question: How do I trap a signal (SIGTERM specifically) in a PHP script? Obviously, I have the latest PHP compiled as a CGI with native MySQL support. My OS environ is Solaris 7. John T. Foley Network Administrator Pollak Engineered Products, Actuator Products Division, A Stoneridge Company 195 Freeport Street, Boston MA 02122 ph: (617) 474-7266 fax: (617) 282-9058 The geographical center of Boston is in Roxbury. Due north of the center we find the South End. This is not to be confused with South Boston which lies directly east from the South End. North of the South End is East Boston and southwest of East Boston is the North End. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]