Filename: $filename";
echo "
$row[gpsudescription]";
echo "
Contributed by: ";
if (strlen(trim($row[conpenname]))>0) $signature=$row[conpenname]; else $signature=$row[conname];
echo "$signature
Download this file in GPSU format.
Note: Default extension name for the download file would be .wph.
However, if you prefer, you can change it back to .txt when prompted during the
download process.";
if (strlen($row[gpsunarrative])>0)
echo "
$row[gpsunarrative]
"; $fullfilename = "gpsufiles/" . $filename . ".txt"; if (file_exists($fullfilename)) { $filectr++; $fd = fopen($fullfilename,"r"); $filetext = fread($fd,filesize($fullfilename)); fclose($fd); }; echo "$filetext"; ?>