I want to be able to do the following:
for each file in directory bla:
- open the file (php).
- pass it to omnimark (parsing language) in CGI.
- omnimark parses over the file, creates variables + passes them back to php.
- php inserts a record into mysql using the passed variables + displays them, then closes file.
I'm a newcomer to php, but I've been using omnimark for years in SGML processing. I've looked at php's XML parsing techniques and quite frankly, they're frightful and long-winded in comparison to omnimark.
My question is, can you call cgi programs without using forms at all in http/php ? If not, is there some invisible form + auto-submit workaround with reliable variable passing ?
Keen to know - cheers.