Re: SV: uptime + php

From: none@serces--mud.dk.lh.bsd-dk.dk
Date: Fri 15 Jun 2001 - 14:35:09 CEST


Date: Fri, 15 Jun 2001 14:35:09 +0200 (CEST)
From: <none@serces--mud.dk.lh.bsd-dk.dk>
To: <none@bsd-dk--bsd-dk.dk.lh.bsd-dk.dk>
Subject: Re: SV: uptime + php


> $uptime = 'uptime'
Hm, er det backticks det der? ' (Apostrof?) er ikke ` :)

Ellers kan du gøre følgende:

<?php
exec("uptime",$retary);
print "$retary[0]";
?>

(Som taget ud af manullen på :
http://dk.php.net/manual/en/function.exec.php)

/S



This archive was generated by hypermail 2b30 : Wed 15 Nov 2006 - 18:24:09 CET