176985602337900

Find freelancers. Lose those costly delays.

With 1.7 million freelancers, we'll match you with the perfect talent.

or, Register with Elance »

Call clamav from perl via a php script to check for virus in uploaded files
Sign in to Add to Watch List

IT & Programming > Web Programming

View Change History

The client has made the following changes to the job.

Description
Date

Job awarded.

May 24, 2012
Close

Job Description

  |  Change History >>

Updated

Close
  • Posted: Thu, May 24, 2012
  • Time Left: Closed
  • Location: Anywhere
  • Client prefers freelancers from:
    Anywhere

    You are still able to submit a proposal for this job.

    The client prefers freelancers from
    a different location.

    You're still able to submit a proposal for this job, regardless of your location.
  • Start: Immediately
  • Budget: Less than $500
  • Fixed Price Job
  • Elance Escrow Protection
  • U.S. freelancers must have W9
Sign in to view client's details

I need a script that starts with php.
In the php script there will be a path to a filename.

I then need php to call perl to run clamav on the above path to file and tell the php script if there is a virus or not.

I can't call clamav directly from php due to the way our host has our server set up.

So the php code would look something like this:

$safe_path = escapeshellarg($_FILES['uploadedfile']['tmp_name']);

//run the perl code here
$response = your_perl_code //replace this with your perl code

//these don't have to be the exact response codes, but you get the idea...
if ($response == 1) {
//file is clean

} elseif ($response == 2) {
//file has a virus

} else {
//something else went wrong
}

Sign in or Register to see more

Desired Skills
MySQL Administration, PHP, Perl
Job ID: 30768001
Proposals
Avg $ | High $ | Low $ — Show Pricing
  • Submit Date (Latest)

Prayag Software Solutions Pvt...      
One or more team members at  are verified.  Learn More
 India  |  
INVITED
Prayag Software Solutions is an offshore software development and outsourcing company. Our technology expertise lies in PHP5, Wordpress, Magento,...
11
  |  
 4.8   |  Private   |  67 Jobs   |  2 verified credential(s)
Bid ID: 30778487  |  Submitted: May 25, 2012 04:00 ET 
Proposal SEALED

 Russia  |  
I'm programing on C/C++, Perl scripting on Linux system.
2
  |  
 0.0   |  $0 Earnings   |  0 Jobs
Bid ID: 30778014  |  Submitted: May 25, 2012 03:31 ET 
Proposal SEALED

 Romania  |  
Winner
4 yrs experience with Perl, PHP and MySQL, working in a large telecom company
1
  |  
 0.0   |  Private   |  0 Jobs
Bid ID: 30768551  |  Submitted: May 24, 2012 16:33 ET 
Delivery
Within 1 week
$135.89

 Moldova, Republic Of  |  
I am exp. programmer from Moldova. Exp. in programming 17 years.
1
  |  
 0.0   |  $0 Earnings   |  0 Jobs
Bid ID: 30768326  |  Submitted: May 24, 2012 16:20 ET 
Proposal SEALED

 Palestine  |  
eSolution Inc has proven through it's satisfied clients and amazing feedbacks , to be one of the Best Outsourcing Companies . Based on Middle East...
15
  |  
 5.0   |  Private   |  74 Jobs
Bid ID: 30768289  |  Submitted: May 24, 2012 16:18 ET 
Proposal SEALED
Sign in to Elance and start working on jobs today.
Sign in to view more of the job details and submit a proposal. Once registered, you'll have access to thousands of jobs online or through email.
Are you ready to post a job like this one?
Post a Similar Job »