I'm trying to determine if it's possible to, from within a WordPress site, temporarily link to an 'external' program, and return back to a specific point in WordPress.
I'm running on WordPress 3.0.4, Linux debian-etch, php 5.2.0, Apache2, MySQL 5.0.32.
The goal is to have a website set up in WordPress (single site install with WordPress in it's own directory), and from a WordPress page, enable a link, or menu item, or button that will execute a .cgi program (written in openCobol) that will display an input form via html, accept input from the user, access a secondary MySQL database (not the WordPress database), then, either via a link on the html or at end of processing, be able to return to a specific page back in WordPress. The desire is to have the .cgi and .html file reside in the WordPress root directory.
The WordPress site will use pretty permalinks. I'd prefer not to use a plug-in if I can get away with it.
I've searched both the forums and via google, and can find ways to integrate WordPress into a standalone application, but not vice-versa.
Any and all help and/or links to documentation is greatly appreciated :)