On Thu, 27 Mar 2003, Palm Optins wrote: > I writting a script so when members join my program it writes their > Email Address into a flat file. I have it adding to the file this way. > > open (FILE, ">>$cgiroot/memdata/address/members.txt"); > flock(FILE, 2); > print FILE "$list\n"; > flock(FILE, 8); > close (FILE);
One danger I see here -- storing these addresses directly under the CGI scripts directory. Could be a serious security hole -- you should store this stuff outside of your document root (and any directories aliased under it). -- Brett -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]