[Mono-list] Determining the platform at compile and run time

Jonathan Gilbert 2a5gjx302@sneakemail.com
Fri, 31 Oct 2003 00:10:09


Why not fix the XML to not have a PHP error message at the top? Here is
what I get when I 'wget' the URL:

<div class="error"><p>lib/Request.php:136: Warning[2]: ob_start(): output
handler 'ob_gzhandler' cannot be used after 'URL-Rewriter'</p>
</div>
<?xml
version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD
XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml">
<head>
.
.

Evidently this is malformed.

Jonathan

At 07:38 PM 29/10/2003 -0800, you wrote:
>Yeah, it's a pain isn't it?
>
>I recommend using Firebird for this - it's real easy to install - you
>just unzip it and double-click on the application, so it's not
>intrusive. Plus it really is a damn fine browser now, even if it's not
>quite got the plug capability of IE yet.
>
>R.
>
>-----Original Message-----
>From: mono-list-admin@lists.ximian.com
>[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Jonathan Gilbert
>Sent: Thursday, October 30, 2003 9:41 AM
>To: mono-list@lists.ximian.com
>Subject: Re: [Mono-list] Determining the platform at compile and run
>time
>
>
>At 09:46 AM 29/10/2003 -0800, Jackson Harper jackson-at-ximian.com
>|mono-list subscription| wrote:
>>On Wed, 2003-10-29 at 09:33, Chris Seaton wrote:
>>> How do I know what OS my program is running on at run time? 
>>> PlatformID contains no entry for any systems apart from Windows.
>>
>>http://www.nullenvoid.com/mono/wiki/index.php/DeveloperFaq?PHPSESSID=e9
>>4bd3
>73fcad70a585f9bf5bb57ba841
>
>This URL does not work for me in Internet Explorer:
>
>------------------------------------------------------------------------
>-----
>The XML page cannot be displayed 
>Cannot view XML input using XSL style sheet. Please correct the error
>and then click the Refresh button, or try again later. 
>
>
>------------------------------------------------------------------
>
>Cannot have a DOCTYPE declaration outside of a prolog. Error processing
>resource
>'http://www.nullenvoid.com/mono/wiki/index.php/DeveloperFaq?PHPSESSID=e9
>4bd3
>73fcad70a585f9bf5bb57ba841'. Line 4, Position 11 
>
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>----------^
> 
>------------------------------------------------------------------------
>-----
>
>Jonathan
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
>
>
>
>