Initially, I have attempted to force the contents of my file upload array into a string by the following method:
$filestring = "";
for($i=0;$i<sizeof($userfile);$i++)
{
$filestring .= (";" + $userfile_name[$i] + ";");
}
The reason for this is the fact that this data is store in a log file so I can later read the info back and print it to an HTML table.
In addition, I receive a "Warning: Wrong parameter count for fwrite()" error when I use to following code. This has me totally stumped:
$opensession = fopen($logname, "a+");
fwrite(sizeof($userfile)");
fwrite($username);
fwrite($useremail);
for($i=0;$i<sizeof($userfile);$i++)
{
fwrite($userfile_name[$i]);
}
fwrite($comment);
fclose($opensession);
I am fairly confident that is done correctly... if not, please give me a hand!
Thanks!
tim mccarron