For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > February 2006 > file path problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author file path problem
Lildog

2006-02-18, 6:56 pm

I have a cgi which gets a variable (that is a relative file path) from
a form via cgi-lib.pl. The file path is a folder that resides in the
cgi-bin folder. e.g. "datas/albanian.txt". OK. My cgi works on line
with tripod but not locally. Well, the cgi runs it just does not find
the data file. if i put the file directly in the cgi-bin folder it does
find it. The variable is such:

$file= 'datas/'.$input{'tLanguage'};

Thank you very much for any help offered.

Todd
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com