[Vfs-devel] Code issue in get_file.php3?
Status: Alpha
Brought to you by:
eesa
From: Tony K. <tk...@ca...> - 2000-06-07 04:27:36
|
Hey there Abdul-Wahid, Here is the line of code in question. $sql = "select file, mime, size from files where file_id='$file'"; Found on line 13 of the new get_file.php3 you sent out today to be tested. Does this line of code work for you on your system? The original get_file.php3 had a different line. $sql = "select file, mime, size from files where file_name='$file'"; The first sql statement makes sense to me being used as there may be multiple files with the same name. Changing file_id=$file to file_name=$file in the new get_file.php3 works of course. But did you want to recode that to use the files ID instead? Regards, Tony Kirk |