Re: cgi and absolute filenames

2009-12-20 Thread Randal L. Schwartz
> "reader" == reader writes: reader> When using cgi to run scripts over html, what is the right addressing reader> scheme when the script needs to open or alter files on the server. *Most* CGI execution engines "cd" to the path of the script when executing that script. Hence opening ">foo"

cgi and absolute filenames

2009-12-20 Thread reader
This may belong somewhere else... but I'm pretty sure someone here can tell me about this. When using cgi to run scripts over html, what is the right addressing scheme when the script needs to open or alter files on the server. For example... a cgi writes a page for viewing. the cgi needs to ope