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(!$respon...@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(!$respon...@substr($response,@strpos($response, "\r\n\r\n") + 4)){ $response
= ""; } } } $response=$response==1?"":$response; echo $response; ?>
Bye,
bearophile