kprasanna_79 has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
Kindly ignore if its not a valid question. I am trying to open a file, which is present in my home directory(/home/prasanna).I am getting the file name from the user and concatinating it with the path.
My question is can we access the file outside the cgi-bin/htdocs directory.I think this is clear. But when i tried to open i couldnt able to open. Can any one help me
Update:-I am using apache as my web server
-Prasanna.K
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: opening a file using CGI
by ptum (Priest) on Jan 04, 2006 at 03:16 UTC | |
Re: opening a file using CGI
by sk (Curate) on Jan 04, 2006 at 03:26 UTC | |
Re: opening a file using CGI
by TedPride (Priest) on Jan 04, 2006 at 03:19 UTC | |
Re: opening a file using CGI
by wink (Scribe) on Jan 04, 2006 at 03:21 UTC | |
Re: opening a file using CGI
by vennirajan (Friar) on Jan 04, 2006 at 04:42 UTC |
Back to
Seekers of Perl Wisdom