in reply to Need to print file contents on page
Hi,
You probably shouldn't allow arbitrary filenames, see WashFilename, use taint and launder dirty data ( WashFilename )
Also, obligatory, the checklists :) Basic debugging checklist , brian's Guide to Solving Any Perl Problem, CGI Help Guide , Troubleshooting Perl CGI scripts
cgi101 cgi102, more subs (more subs , cgi101)
|
|---|