Page 1 of 1

Can you met this problem?

Posted: Tue Aug 29, 2006 6:46 am
by shyami
patrikG | Please use

Code: Select all

and

Code: Select all

tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


Hi everyone,

i am trying this one, for one week

i am uploading some files through my php code,
i need to scan the files for virus information,


some sites they referred clamav, so i installed that one
it is working well in command line, in code, i gave like this

Code: Select all

<?php

$e= "testphp.php";
echo "<br>";
$g= exec("clamscan \"$e\"");
echo "Res is <br>";
echo $g;
?>
my output is

Res is
Time: 1.732 sec (0 m 1 s)


from this i can't know anything......
How can i get the virus information?


guide me! plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz




with thanks
shyami


patrikG | Please use

Code: Select all

and

Code: Select all

tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]

Posted: Tue Aug 29, 2006 7:31 am
by patrikG
clamscan only returns the time it took to scan that file. For more information add the parameter --stdout
(see http://www.clamav.net/doc/0.80/html/node28.html )

Posted: Tue Aug 29, 2006 7:40 am
by nam797
shyami,

Are you doing this on a windows or linux server? I need to set up something simular.

Thanks,

Nathan

Posted: Tue Aug 29, 2006 9:04 am
by feyd
Did this really need a new thread? viewtopic.php?t=54532
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.

Posted: Tue Aug 29, 2006 9:26 am
by Jenk
I've also noticed the exact same content and title being used on multiple PHP related boards.. only the user name differs (and appears random.)

Though it would be an .. interesting choice of spam.

Posted: Tue Aug 29, 2006 9:29 am
by Chris Corbyn
Jenk wrote:I've also noticed the exact same content and title being used on multiple PHP related boards.. only the user name differs (and appears random.)

Though it would be an .. interesting choice of spam.
I visit three php forums. I regularly see some of our members posting their question on all 3 forums. Not really a problem :)

Posted: Tue Aug 29, 2006 11:11 am
by Jenk
oh aye, but the only common factor between all the posts and this is that in none did the OP ever reply, only make new threads on all forums again with identical titles and content.

Posted: Tue Aug 29, 2006 3:24 pm
by patrikG
I believe the problem to be solved.

clamav

Posted: Tue Aug 29, 2006 11:29 pm
by shyami
Hi Nathan,

i am doing this in linux

Shyami