Re: noob can't even make a function work right :-(



$myFile = "file.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
return $theData;
}

?>
<?
$result = makeSure($myFile, $fh, $uName, $pRequest);

echo($result);

?>


Something more like that

.