AntiVirus

+1 Sampan Verma · March 27, 2015
Have you ever thought of stuff which can be used to scan the uploaded files. I want to know how to do it. I guess doing that i ASP would be easy cause it is VB Language but I want to make a Scanner Class which will scan the files for virus....

I dont have any idea. And want to make a class for my PHP Framework......

Post a Reply

Replies

Oldest  Newest  Rating
0 Sampan Verma · March 27, 2015
no codin.developer.se/. I dont know anything about ASP or VB but because they are by Microsoft thus I think they might have there extra stuff in which one might be helpful for the class. 
And the class could be something like 
$file = new Scan('crack.zip');
$result = $file->scan('malware');
if($result){
   echo "Your file contains malware";
}
else if (!$result){
   echo "You're ready to go";
}
else echo $file->log();

Moreover the 
scan function of object can be better by this
$result = $file->scan([
       'virus'=>['spyware','malware','trojan'],
       'content'=>['word','phrase','sql'],
       ...
]);
  • 1

PHP

106,983 followers
About

Server-side, HTML embedded scripting language used to create dynamic Web pages.

Links
Moderators