auto submit form from command line
Posted
by combatwombat
on Stack Overflow
See other posts from Stack Overflow
or by combatwombat
Published on 2010-04-18T08:53:59Z
Indexed on
2010/04/18
9:03 UTC
Read the original article
Hit count: 312
php
I have a form page in PHP that reads a DBF, and conditionally converts it into a MySQL - extracting the data from an old, but still production accounting app. The conversion should be able to be actioned without user intervention, ie scripted from the web-host's command line on a cron job.
How can I get PHP to submit the form automatically when receiving variables at command line, like for instance a specific post variable? Every auto-submit I've found so far relied upon javascript, which would be useless at PHP command line.
© Stack Overflow or respective owner