zohab Posted November 8, 2006 Share Posted November 8, 2006 Hi I have one question?I need to scan file.If file does not contain any virus then upload it otherwise not .Can someone help me how can i do this using [b]PHP[/b]?Thanks in advance.Best regardszohab. Quote Link to comment Share on other sites More sharing options...
heckenschutze Posted November 8, 2006 Share Posted November 8, 2006 You can't scan the file until its been uploaded.To scan the file you should call the virus scanner using the [url=http://php.net/system]system()[/url] function.Then if it has a virus delete it, else copy it to wherever ... Quote Link to comment Share on other sites More sharing options...
zohab Posted November 11, 2006 Author Share Posted November 11, 2006 Thanks for response.I had refer to link system() and try to understand it.For my clarification can you please give small example of system()so that i will understand it clearly.I had tried example fiven on system() link page but i did not got it.Best regardszohab. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.