php-windows Digest 24 Nov 2004 09:39:57 -0000 Issue 2481
Topics (messages 25035 through 25037):
Command to find platform used
25035 by: Harpreet
25036 by: Wagner, Aaron
Re: What's wrong with these two programs?
25037 by: Michael Adams
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 ---
I am running my php application on an Windows XP and a Mac machine. I want
to find the platform name.
IS there a function in php to do that.
Help is appreciated.
Regards,
Harpreet Kaur
--- End Message ---
--- Begin Message ---
print $_ENV["OS"];
> -----Original Message-----
> From: Harpreet [mailto:[EMAIL PROTECTED]
> Sent: November 23, 2004 11:08
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Command to find platform used
>
>
> I am running my php application on an Windows XP and a Mac
> machine. I want
> to find the platform name.
>
> IS there a function in php to do that.
>
> Help is appreciated.
>
> Regards,
> Harpreet Kaur
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
On Tue, 23 Nov 2004 15:15:49 +1000
"Michael Purdy" <[EMAIL PROTECTED]> wrote:
> Anthony
>
> Assuming you have not omitted any of the code for script 2:
>
> You need to have a get the posted value at the start of script 2 i.e.
>
> $username = $_REQUEST['userName'];
>
> Mike
And assuming both Armando and Mikes answers work which method is
the more correct?
--
Michael Adams
Trying to learn in dribs and drabs
--- End Message ---