Hello, On Wed, Oct 31, 2001 at 03:26:44PM -0500, Liz Fulghum wrote: > if ($REMOTE_ADDR=="127.0.0.1") { > do something > } elseif ($REMOTE_ADDR=="remote.somewhere.com") { > do something else > } else { > eeks! its the end > }
But how to easily accessing the whole environment. For example, can you port this to PHP? print map { "$_=$ENV{$_}\n" } sort keys %ENV; bye, Da.Ta. -- ooo oo ooooo oo | Danijel Tasov, [EMAIL PROTECTED] o o o o o o o | 00 3A 65 0C 47 66 46 27 E2 AF 3A C4 1C 2E E8 EE o o oooo o oooo | http://www.camelot.de/news/ ooo o o. o o o. | # fortune: No such file or directory
msg40507/pgp00000.pgp
Description: PGP signature