Dear milliser,
I already create script to upload file (success),
but i want user can't review and download file that
already uploaded on website.
----script upload file-----------
//save file
$c_cont = fread($fp, filesize($tmpname));
$c_cont = addslashes($c_cont);
fclose($fp);
include 'config.php';
$query = "INSERT INTO testupload (name, size, type,
content ) ".
"VALUES ('$filename', '$filesize', '$filetype',
'$c_cont')";
-------end script ---------------
fyi, if file upload is text i can select content file
from table mysql.
thx a lot
deden
____________________________________________________________________________________
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html