This indicates that your cgi script when called from the web server doesn't find or can't read your file. And that's why it is empty.
You use ./textfile. Naturally your webserver has not the same "current directory" as you have. Use an absolute path and one where you know the webserver has access to
In reply to Re^2: Perl CGI Text box
by jethro
in thread Perl CGI Text box
by PyrexKidd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |