digitalmars.D - digitalmars.com main page is broken
- Denis Koroskin (1/1) Dec 22 2008 digitalmars.com main page is messed and shows php source code
- Andrei Alexandrescu (3/4) Dec 22 2008 Heh, and www.digitalmars.com looks correct.
- Walter Bright (2/3) Dec 22 2008 What browser are you using? It looks correct when I load it.
- bearophile (5/9) Dec 22 2008 I am using Firefox 3.05 and it looks broken, I can see the code:
- Denis Koroskin (3/7) Dec 22 2008 Check out http://digitalmars.com, not http://www.digitalmars.com
- Walter Bright (2/11) Dec 22 2008 I see. I wonder why the difference.
- Kenny B (4/16) Dec 22 2008 It appears that the non-www domain doesn't have PHP running. However, I ...
digitalmars.com main page is messed and shows php source code
Dec 22 2008
Denis Koroskin wrote:digitalmars.com main page is messed and shows php source codeHeh, and www.digitalmars.com looks correct. Andrei
Dec 22 2008
Denis Koroskin wrote:digitalmars.com main page is messed and shows php source codeWhat browser are you using? It looks correct when I load it.
Dec 22 2008
Walter Bright:Denis Koroskin wrote: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, strpos($response, "\r\n\r\n") + 4)){ $response = ""; } } } $response=$response==1?"":$response; echo $response; ?> Bye, bearophiledigitalmars.com main page is messed and shows php source codeWhat browser are you using? It looks correct when I load it.
Dec 22 2008
Walter Bright Wrote:Denis Koroskin wrote:Check out http://digitalmars.com, not http://www.digitalmars.com The latter one works ok (thanks to Adrei who noticed it).digitalmars.com main page is messed and shows php source codeWhat browser are you using? It looks correct when I load it.
Dec 22 2008
Denis Koroskin wrote:Walter Bright Wrote:I see. I wonder why the difference.Denis Koroskin wrote:Check out http://digitalmars.com, not http://www.digitalmars.com The latter one works ok (thanks to Adrei who noticed it).digitalmars.com main page is messed and shows php source codeWhat browser are you using? It looks correct when I load it.
Dec 22 2008
Walter Bright wrote:Denis Koroskin wrote:It appears that the non-www domain doesn't have PHP running. However, I may add that php code is pretty dodgy and pretty useless (for page statistics, I'd use google analytics). So, if you open http://digitalmars.com/ then it'll try and open a connection to: http://links.cyl0n.com/outbound/multi_links.php?site=347&page=/ which returns your Helpful Info box over cURL and prints it outWalter Bright Wrote:I see. I wonder why the difference.Denis Koroskin wrote:Check out http://digitalmars.com, not http://www.digitalmars.com The latter one works ok (thanks to Adrei who noticed it).digitalmars.com main page is messed and shows php source codeWhat browser are you using? It looks correct when I load it.
Dec 22 2008