> "Clemme" <mcmartin@ofir.dk> wrote in message news:9ch9gm$97k$1@sunsite.dk...
> > <?
> > $pcidev = exec("cat /proc/pci | grep rev")
> > print $pcidev;
> > ?>
Kig lige på
http://dk.php.net/manual/en/function.exec.php igen :)
exec("ls -l",$result,$errcode);
echo $errcode == 0 ? "Success" : "Fail";
foreach($result as $line) echo $line."\n";
/tom