[PHP] Re: Re: php equivalent for cut

2005-09-06 Thread Michelle Konzack
Hi Phil, Am 2005-09-06 11:22:11, schrieb Philip Hallstrom: Hmmm.. that's going to create a 5 element array assigned to $fields. So, using /etc/passwd as an example... :-) $fields = explode(':', $string); $fullname = $fields[4]; // Philip Hallstrom Thanks. Greetings Michelle --

[PHP] Re: Re: php equivalent for cut

2005-09-06 Thread Michelle Konzack
Hi Phil, Am 2005-09-06 15:14:59, schrieb Philip Hallstrom: Why not use posix_getpwuid()? Good question... :-) http://us2.php.net/manual/en/function.posix-getpwuid.php This was a great IDEA... -philip Thanks and good night Michelle -- Linux-User #280138 with the Linux Counter,