Re: Windows COM
| From: | Benjamin Smith | Date: | Sat, 03 Jun 2006 06:15:23 +0000 |
| Subject: | Re: Windows COM | ||
| References: | 1 2 3 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6970@lists.php.net to get a copy of this message | ||
On Friday 02 June 2006 21:09, Ron Tarrant wrote:
> Benjamin Smith wrote:
>
> >
> >
> >For example, if I want to bring up a website in a browser, I have an
internal
> >call to (to OpenURL()) which determines what O/S we're running, and makes a
> >call to one of OpenUrlWinNT(), OpenURLWin9x(), OpenUrlUnix(), or (hopefully
> >soon) OpenUrlOSX().
> >
> >
> >
>
> You can also do this by checking the PHP_OS variable. If you want to
> know more, you can check out the link in my sig. I think it's article 22
> or 23, something like that.
I didn't know about the PHP_OS constant, but I've done similar by comparing
the $_SERVER superglobals (home directory location, etc)
Thanks!
--
"The best way to predict the future is to invent it."
- XEROX PARC slogan, circa 1978