I'm looking for something that returns just the OS type, not tons of
information.  :)  I think the constant PHP_OS is what I'm looking for.
I just found it.

Thanks for the suggestion though,
Matt

> -----Original Message-----
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 2:51 PM
> To: 'Matt Giddings'; [EMAIL PROTECTED]
> Subject: RE: [PHP] Determining platform PHP is running on?
> 
> [snip]
> Is there a way to determine what platform PHP is running on? I'm
trying
> to write a script that parses path names which we all know unix and
> windose don't agree with each other.
> [/snip]
> 
> Put <?php php_info(); ?> in a page and then load in the browser from
your
> server. It's revealing ...
> 
> HTH!
> 
> Jay
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.391 / Virus Database: 222 - Release Date: 9/19/2002
> 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.391 / Virus Database: 222 - Release Date: 9/19/2002
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to