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> :$!:";
In reply to Re: Writing to the File
by jesuashok
in thread Writing to the File
by msk_0984
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |