473,382 Members | 1,367 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

viruse scan in php(lamp)

In PHP I want to scan the file for viruse while uploading in database server.What is the procedure i want to follow.
Database-------->mysql
Server------------->Apache
OS----------------->Redhat Linux
Language-------->PHP
Aug 2 '07 #1
7 1935
In php How to scan the file for viruse befor uploading in the database server in real time.
Database -- Mysql
Server Apache
Language PHP
OS RedHat Linux
Aug 2 '07 #2
kovik
1,044 Expert 1GB
In PHP I want to scan the file for viruse while uploading in database server.What is the procedure i want to follow.
Database-------->mysql
Server------------->Apache
OS----------------->Redhat Linux
Language-------->PHP
Scan a file for viruses...? Exactly how would you differentiate between a virus and a regular file? The term "virus" is already ambiguous.

I think you should be thinking less about what you shouldn't allow users to upload and more about what you should allow them to upload. What sort of files are they going to be uploading?
Aug 2 '07 #3
Scan a file for viruses...? Exactly how would you differentiate between a virus and a regular file? The term "virus" is already ambiguous.

I think you should be thinking less about what you shouldn't allow users to upload and more about what you should allow them to upload. What sort of files are they going to be uploading?
uploading files are ---->doc,txt,pdf,rtf.
Actually the user will uploaded this type of file. while uploading i want to scan this file for any viruse is in file and if the file in affected is by viruse means , I want to inform to the user. The file is affected by viruse.
Aug 3 '07 #4
dafodil
392 256MB
Try this link:
http://www.phpclamavlib.org/.

It allows to incorporate virus scanning features in your PHP scripts. It uses the Clam Antivirus API (libclamav) for virus scanning

Hope that helps.
Aug 3 '07 #5
pbmods
5,821 Expert 4TB
Merged duplicate threads.
Aug 5 '07 #6
Dear dafodil

Thank u very much for your kind and fine help in this problem.
Aug 6 '07 #7
dafodil
392 256MB
Welcome, post again if you got problems.
Aug 6 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

24
by: Google Mike | last post by:
I guess I'm talking to get this off my chest. I guess I'm talking to the newbies out there wondering if they want to remain on ASP.NET, C#, JSP, or whatever, or whether they want to do their next...
3
by: Andrea A | last post by:
Hi, i'm setting up a website with a forecast traffic of 70.000 sessions and 1.000.000 pageviews a day. I'm in trouble about the short budget I have (about 10K $) and the big traffic and so the...
14
by: Ranger West | last post by:
Hello there, Are there any out-of-the box handhelds that run Linux/Apache/MYSQL and PHP? Does Redhat, Suse, or Gentoo support any handhelds? I know the Zaurus comes close, but I've heard...
2
by: Yogee | last post by:
Hello all, I dont know the exact group where I should post my questions. So, I m doing it on most of the groups which support components of LAMP stack. My client wants to use WAMP ( Windows +...
0
by: tsivaraman | last post by:
I am trying to build php-5.2.1 in RedHat Linux 9. I have installed libxml2-2.6.11,mysql-5.0.33,httpd-2.2.4(apache) successfully.When i do 'make' from the php directory,i get the following...
1
by: Kesavan | last post by:
I install apache2 in /usr/local/apache2 and install php5 by ./configure --with-apxs2=/usr/local/apache2/bin/ apxs PHP is successfully installed in my system. But now my .php files inside...
0
by: RigasMinho | last post by:
Description Company Description: Our client company is looking for very talented PHP engineers who can program without using any external tools. The company is a social networking company with...
1
by: Marco A. Cruz Quevedo | last post by:
Hi everybody, I am building php-5.2.6 with the following options: .. . . . . . . . . . . . . . . . . . . . --prefix=/usr --with-mysql=shared,/usr --with-zlib=/usr --with-apxs2 --...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.