You are here: Re: Safe mode « PHP Programming Language « IT news, forums, messages
Re: Safe mode

Posted by Ray on 06/16/05 16:04

Hi

Ok, my permissions are set to the same as yours..

Try using something like this..

<?

$strUptime = exec("uptime");

echo "<pre>";
echo $strUptime;
echo "</pre>";

?>

It will return "15:01:35 up 8:52, 6 users, load average: 0.05, 0.16,
0.09"

Hope this helps..
Ray


"zeman" <marckhayat@gmail.com> wrote in message
news:1118922510.889818.24880@f14g2000cwb.googlegroups.com...
> hi ray,
> [root@linux /]# ls -l /proc | grep uptime
> -r--r--r-- 1 root root 0 Jun 16 14:41 uptime
>
> It has "read" permission of owner, group, and other.
> Apache is running with a user with UID 500.
>
> Thanks
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация