mjm7867 Posted November 17, 2006 Share Posted November 17, 2006 i am running Centos 4.4, apache 2.0.1, PHP 5where $tmp_file = $FILES['uploaded']['tmp_name'];i am uploading a file and while it is in upload_tmp_dir i am scanning it with clamscan(command line antivirus),but when i run it i get this error in error_log:so the code is like this :$tmp_file = $FILES['uploaded']['tmp_name'];$result = system("clamscan $tmp_file");ERROR: Can't access file stuff.txtstuff.txt: Permission denied.need help please i m stuck on this for the longest time.Thanks in advancee!!! Link to comment https://forums.phpfreaks.com/topic/27548-clamavantivirus-scan-thro-php/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.