Re: Auto Detection of Environment
| From: | Christian Weiske | Date: | Thu, 09 Dec 2004 05:38:02 +0000 |
| Subject: | Re: Auto Detection of Environment | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5324@lists.php.net to get a copy of this message | ||
Hi Doug,
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
wondering if there was any "automatic" way to detect what environment it was being run in (online, cli, or GTK). If you run cli, there are several $_SERVER variables missing. Cli and PHP-Gtk are the same as php-gtk uses the cli version.Regards/MfG, Christian Weiske -- XMMS is playing now:
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc