[PHP] Re: Get Operating System

2001-07-30 Thread Rainer Rosenberger
) (RYFM). Nevertheless it's strange that the getenv function does not return any Value for OSTYPE. I gues that this is a special shell variable the server does not know anything about. Regards, -- Rainer Rosenberger __ NetAktiv, Beratung &

[PHP] Re: return value from recursive function

2001-07-29 Thread Rainer Rosenberger
Hi, your call to abc_recurse returns the return value of the FIRST call. You forgot to pass the result back to the calling funtions (below corrected code). Regards -- Rainer Rosenberger __ NetAktiv, Beratung & Realisierung Dr. Ra

[PHP] Get Operating System

2001-07-29 Thread Rainer Rosenberger
ux-gnu" whereas getenv("OSTYPE") returns nothing Any idea why the simple getenv-solution does not work. Any simpler solution than calling the shell "echo"? Regards -- Rainer Rosenberger ______ NetAktiv, Beratung & Rea