I have developed some PHP-classes for database access in my Apache/PHP/MySQL web project. Now I would like to create a standalone application that would run regurarly with cron. The application should send formatted e-mails with the data from the database.
Can I write the entire application with standalone PHP and reuse my database classes? Or should I stick to Perl or you name it? How do I use the standard I/O in PHP? Thanks.