CGI expert?
Hello reefburnaby,
Yes, $DATA_PATH/clubschedule.srv does exist.
I'm looking at the cgi script and it has the following:
$DATA_FILE="$DATA_PATH/$SURVEY_NAME\.srv";
$LOG_FILE="$DATA_PATH/$SURVEY_NAME\.log";
if ( !-e $DATA_FILE){
print "Content-type: text/html\n\n Data File is Missing!\n";
exit;
}
The $DATA_PATH variable was declared by me using the correct path. However, a search for $SURVEY_NAME led to:
if ($fields{'survey_name'}=~/^([-\@\w.]+)$/){
$SURVEY_NAME=$fields{'survey_name'};
}
But I am unable to see %fields being declared anywhere else. Perhaps you can shed some light on this.
Thanks
Titus
|