I've got some scripts that back-end multiple HTML forms, accepting data via
POST. What I'd like to do is have some automated processing take place via
cron, using those same scripts to do the back-end processing. I'm looking for
a way to invoke those scripts from a script *not* executed via a browser
session.
I've found one way via streams (http://www.php.net/stream), by creating a
pretend browser session.
1. Is there an easy-to-use class that encapsulates this? That is, something
that I pass an array of field names and values along with the target URL?
2. Is there a better way?
POST. What I'd like to do is have some automated processing take place via
cron, using those same scripts to do the back-end processing. I'm looking for
a way to invoke those scripts from a script *not* executed via a browser
session.
I've found one way via streams (http://www.php.net/stream), by creating a
pretend browser session.
1. Is there an easy-to-use class that encapsulates this? That is, something
that I pass an array of field names and values along with the target URL?
2. Is there a better way?
Comment