in reply to Writing to the File
when you specify the file name in open ( Better for CGI programs ), Please specify it with the absolute path. It is always a good practice.
Example :
and make sure the user has permission to access the directory.open ( OUT , ">>/home/user/cgi/mail_file/guestbook.txt" ) or die "cann +ot append to <file> :$!:";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Writing to the File
by msk_0984 (Friar) on Jun 28, 2006 at 13:08 UTC | |
by jesuashok (Curate) on Jun 28, 2006 at 13:17 UTC |