> -----Original Message----- > From: Gunnar Hjalmarsson [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 8:58 PM > To: [EMAIL PROTECTED] > Subject: Re: Write to file with shared server certificate > > > Ron Goral wrote: > > If I try to create the file using open(LOG,"+>>$logfile), the error > > is: > > > > No such file or directory at > > /usr/wwws/htdocs/mydomain/cgi-bin/test.cgi line 35. > > You must not include the '+' character when creating a file. > > perldoc perlopentut > > Try: > > open LOG, ">> $logfile" or die $!; > > That presupposes of course that you remove the existing log file first. > > -- > Gunnar Hjalmarsson > Email: http://www.gunnar.cc/cgi-bin/contact.pl >
Thanks again for the replies. I contacted my host and the shared SSL does indeed operate under its own name which is different from mine. It is possible to create files under such circumstances, but they must be created in a folder that is 0777. I'm not crazy about having a folder set to 0777 full of files set to 0666. =) As for creating the file with '+>>', this would allow for read and append ops on the file. In the original function, if the log file existed, it was to be searched for particular input and then written to. If it did not exist, it was to be created and then written to. I appreciate the help and the pointers. I apologize again for the off-topic nature of these postings. Peace - Ron Goral -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>