[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-general
Subject:    RE: [PHP] Determining platform PHP is running on?
From:       "Matt Giddings" <cen10761 () centurytel ! net>
Date:       2002-09-30 18:51:12
[Download RAW message or body]

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:jay.blanchard@niicommunications.com]
> Sent: Monday, September 30, 2002 2:51 PM
> To: 'Matt Giddings'; php-general@lists.php.net
> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic