Why? Your code doesn't hint at what you are trying to achieve overall and the answer you want depends on just what you want to do.
An answer may be that a normal CGI application accepts input on stdin and spits output to stdout so one approach would be to simply redirect stdin and stdio to your files. That would work fine for testing some CGI code you've written or preparing dynamic HTML offline, but maybe you have a different reason for doing this?
In reply to Re: read/write data in using CGI
by GrandFather
in thread read/write data in using CGI
by sauravrout
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |