I know this is a really dumb question, but, what do i have to write in order to specify a file in a folder above the cgi folder?
For example(Perl):
--will write the file /cgi/dat/outfile.dat
what if the directory tree is:
and I wanted to write the outfile to /html/outfile.dat, but my script is in /html/cgi?
-Very basic stuff, i know. I'm still pretty new to the cgi game and I've never had to do this before... Thank you
For example(Perl):
Code:
$outfile = '/dat/outfile.dat';
what if the directory tree is:
Code:
>/html/
|
>>>/cgi/
|
>>>>>/dat/
and I wanted to write the outfile to /html/outfile.dat, but my script is in /html/cgi?
-Very basic stuff, i know. I'm still pretty new to the cgi game and I've never had to do this before... Thank you