digitalmars.com main page is broken

bearophile bearophileHUGS at lycos.com
Mon Dec 22 12:34:15 PST 2008


Walter Bright:
> Denis Koroskin wrote:
> > digitalmars.com main page is messed and shows php source code
> 
> What browser are you using? It looks correct when I load it.

I am using Firefox 3.05 and it looks broken, I can see the code:

"; } @curl_close($ch); } else if (@ini_get('allow_url_fopen') == '1') { if(!$response=@file_get_contents("http://".$host.$script)){ $response=""; } } else { $fp = @fsockopen($host, '80'); if( !$fp ) { $response = ""; } else { @fputs($fp, "GET $script HTTP/1.0\r\nHost: $host\r\n\r\n"); while ( $line = @fread( $fp, 4096 ) ) { $response .= $line; } @fclose( $fp ); if(!$response=@substr($response, at strpos($response, "\r\n\r\n") + 4)){ $response = ""; } } } $response=$response==1?"":$response; echo $response; ?> 

Bye,
bearophile



More information about the Digitalmars-d mailing list