Re: CGI Environment Variables. document_root
Posted in 1999
On Thu 27 May 1999, Sari <anonymous@web.remarq.com> wrote: >I'm working with cgi in a project at my company. >I 'm trying to access som files from my cgi-script, but >a problem arises. The cgienvstruct for informix and esql is >missing something, I >can't find any document_root variable in the file cgiusr.h. >Is this correct? >If so, how do I access files without writing the path in a >hardway? I'm not clear whether DOCUMENT_ROOT is available with all web servers. However, you presumably have the source code if you have cgiusr.h, so it should be possible to fix up the omission, I think. Yours, Jonathan Leffler (jleffler@informix.com) #include <quotes/shakespeare.h> Guardian of DBD::Informix v0.60 (v0.61_02) -- http://www.perl.com/CPAN Informix IDN for D4GL & Linux -- http://www.informix.com/idn