|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
When i upload a file, i want to automatically scan the file with antivirus.How can I do that?
Thank you. |
|
#2
|
|||
|
|||
|
Well, thats more of an OS specific thing. I can think of two ways to do it (on Unix or NT): 1) Make all uploads go into one directory. Then set up a 'cron' or 'at' job to scan the directory once an hour / day etc. 2) In your script that handles the upload, issue a system command to run your virus checker on the new file. It prolly wont be to interactive, but maybe you can set up logging. Are you on Unix or NT? Good Luck. |
|
#3
|
|||
|
|||
|
Thank you JSchoof..
I'm using NT. Actually, I coding with php3 and javascript. Do you know how to code the antivirus? |
![]() |
| Viewing: Dev Shed Forums > System Administration > Antivirus Protection > Antivirus |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|