Re: Probaly a stupid newbie question.

From: Date: Wed, 05 Jul 2000 11:24:22 +0000
Subject: Re: Probaly a stupid newbie question.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4912@lists.php.net to get a copy of this message
You could read the manual which gives all information: http://www.php.net/manual/function.posix-uname.php ----- Original Message ----- From: Joachim Holst (QCS) <Joachim.Holst@ecs.ericsson.se> To: Php-List (E-mail) <php-general@lists.php.net> Sent: Wednesday, July 05, 2000 11:09 AM Subject: [PHP] Probaly a stupid newbie question. > Hi ! > > I'm trying to implement some system satus on my web-page. > I would like to show system name, kernel name, OS name and some more things. > I have found the posix_*() functions and aspecially the posix_uname() function. According > to the doc's posix_uname() returns an array. Because of this, I have tried the following: > > $sysname = posix_uname(); > echo "Something : " . sysname[1]; > > Another thing I'm having problems with, is the "\n" (newline) character. It doesn't seem to give me > e newline :-( Have tried this with: > echo "text\n"; > print "test\n"; > printf("text\n"); > > with absolutely no success. > > I would be happy if someone could give me a pointer to these problems. > > BTW, I'm running PHP4 on a RedHat 6.2 system. No upgrade rpm's are installed on my system. > > /Jocke! > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#4912) next »