php-general Digest 7 Jan 2011 16:55:36 -0000 Issue 7120

Topics (messages 310543 through 310549):

Re: Newbie Question
        310543 by: Bill Guion
        310544 by: Daniel Brown
        310548 by: Jay Blanchard

PHP extension for equivalen of "getent"?
        310545 by: Michelle Konzack
        310546 by: Michael Shadle
        310547 by: Michelle Konzack

Command line PHP
        310549 by: larry.garfieldtech.com

Administrivia:

To subscribe to the digest, e-mail:
        [email protected]

To unsubscribe from the digest, e-mail:
        [email protected]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
At 11:37 AM -0500 01/06/11, tedd wrote:

At 8:16 PM -0500 1/5/11, Daniel Brown wrote:
On Wed, Jan 5, 2011 at 19:45, David Harkness <[email protected]> wrote:
[snip!]

Most companies will gladly give their product away to put it in the hands of soon-to-be-professionals. :)

    Tedd had his chance to be professional back in the forties (the
eighteen-forties, I believe).  Now he teaches others who still have a
chance.  ;-P

    Which reminds me of an old thread from back in 2008, where I
posted Tedd's senior class picture.  You can see it here:

        http://links.parasane.net/tb46

Again, you got it wrong, o' wise one -- that's a picture of my son's senior class.

I'm the one on the left fogging a smart-ass who refused to get out of my

Fogging must be a REAL OLD Fashioned term. Please clarify.

     -----===== Bill =====-----

chariot's way.

Boy, those were the good old days when I could flog a smart-ass.

Cheers,

tedd

PS: It's not Friday yet.

--
-------
http://sperling.com/


--

Don't find fault. Find a remedy. - Henry Ford

--- End Message ---
--- Begin Message ---
On Thu, Jan 6, 2011 at 23:09, Bill Guion <[email protected]> wrote:
>
> Fogging must be a REAL OLD Fashioned term. Please clarify.

    It was originally written before man invented the letter 'L', Bill.

    Welcome back, by the way.  For someone who only posts once in a
[great[ while, you certainly scrutinize spelling.

-- 
</Daniel P. Brown>
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/

--- End Message ---
--- Begin Message ---
{snip]
...stuff about tedd...
[/snip]

Thank goodness there is someone on the list much older than me.

[snip]
>PS: It's not Friday yet.
[/snip]

It is now.

--- End Message ---
--- Begin Message ---
Hello and good morning,

I use php-pam for authentication but nowI have the  need  for  something
which give me the ${HOME} directory back.

Does someone know, whether there is a PHP  extension  like  "getenv"  or
something which give the passwd fields back?

Note:   I am using libpam-pgsql and libnss-pgsql2 which mean,
        I can not grep /etc/passwd or use "getent".

Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL       itsyst...@tdnet UG (limited liability)
Owner Michelle Konzack            Owner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz                 Kinzigstraße 17
67100 Strasbourg/France           77694 Kehl/Germany
Tel: +33-6-61925193 mobil         Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/>  <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/>         <http://www.can4linux.org/>

Jabber [email protected]

Linux-User #280138 with the Linux Counter, http://counter.li.org/

Attachment: signature.pgp
Description: Digital signature


--- End Message ---
--- Begin Message ---
On Fri, Jan 7, 2011 at 12:30 AM, Michelle Konzack
<[email protected]> wrote:

> Does someone know, whether there is a PHP  extension  like  "getenv"  or
> something which give the passwd fields back?

http://php.net/posix

--- End Message ---
--- Begin Message ---
Hello Michael Shadle,

Am 2011-01-07 00:35:38, hacktest Du folgendes herunter:
> http://php.net/posix

Grmpf!  Time to get a new PHP Book...  2002 is rather old!

Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL       itsyst...@tdnet UG (limited liability)
Owner Michelle Konzack            Owner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz                 Kinzigstraße 17
67100 Strasbourg/France           77694 Kehl/Germany
Tel: +33-6-61925193 mobil         Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/>  <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/>         <http://www.can4linux.org/>

Jabber [email protected]
ICQ    #328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/

Attachment: signature.pgp
Description: Digital signature


--- End Message ---
--- Begin Message --- Hi folks. I have a project coming up that will involve writing a non-trivial command line PHP application. Most of it will be nice and abstracted and standalone and all of that jazz, but it will need to do command line interation. I'm not sure yet if it will be interactive or if I just need to parse lots of command line switches.

Has anyone used a CLI-handling library they like? I recall briefly using the PEAR CLI library many many years ago and disliking it because it was only barely a step above the raw PHP-CLI SAPI, and still required lots of if-else branching in my code. I don't know if there's anything better since then, however. I prefer clean OO to procedural, but can work with procedural if needs be. The fewer dependencies it has the better as well.

Any recommendations?

(Open source, GPLv2-compatible required.)

--Larry Garfield

--- End Message ---

Reply via email to