Mam skrypt:

<?php

  if ( $fp = @fsockopen( '***************', 80 ) ){
    fputs( $fp, 'GET /pma/ HTTP/1.1
Host: ***************
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1) Gecko/20061010 Firefox/2.0
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: pl,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Authorization: Basic ********************

');

    while ( $buf = fread( $fp, 1024 ) ) $result .= $buf;
    fclose( $fp );

    echo $result;

  } else { echo 'err'; }
?>

na komputerze pokazuje mi (php5):

HTTP/1.0 200 OK
Date: Wed, 25 Oct 2006 16:44:59 GMT
Server: Apache/2.0.55 (Debian) mod_ssl/2.0.55 OpenSSL/0.9.8b mod_perl/2.0.2 Perl/v5.8.8
X-Powered-By: PHP/4.4.2-1+b1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: phpMyAdmin=515fe401be0fafea57bc7be468ad581f; path=/pma/
Set-Cookie: pma_lang=pl-iso-8859-2; expires=Fri, 24 Nov 2006 16:44:59 GMT
Set-Cookie: pma_charset=iso-8859-1; expires=Fri, 24 Nov 2006 16:44:59 GMT
Set-Cookie: pma_collation_connection=deleted; expires=Tue, 25 Oct 2005 16:44:58 GMT
Set-Cookie: pma_theme=deleted; expires=Tue, 25 Oct 2005 16:44:58 GMT
Content-Type: text/html; charset=iso-8859-2
X-Cache: MISS from server
X-Cache-Lookup: MISS from server:9999
Connection: close

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xml:lang="pl"
    lang="pl"
    dir="ltr">
<head>
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<title>phpMyAdmin 2.8.2 -
    ***************</title>
<meta http-equiv="Content-Type"
    content="text/html; charset=iso-8859-2" />
<script type="text/javascript" language="javascript">
// <![CDATA[
    // definitions used in querywindow.js
    var common_query = 'lang=pl-iso-8859-2&convcharset=iso-8859-1&token=2a2eb7d42a6a9857a616433e3a0bef6c';
    var opendb_url = 'db_details_structure.php';
    var safari_browser = false;
    var querywindow_height = 400;
    var querywindow_width = 600;
    var collation_connection = '';
    var lang = 'pl-iso-8859-2';
    var server = '1';
    var table = '';
    var db    = '';
    var text_dir = 'ltr';
    var pma_absolute_uri = 'http://***************/pma/';
// ]]>
</script>
<script src="./js/querywindow.js" type="text/javascript" language="javascript">
</script>
</head>
<frameset cols="200,*" rows="*" id="mainFrameset">
        <frame frameborder="0" id="frame_navigation"
        src="left.php?lang=pl-iso-8859-2&amp;convcharset=iso-8859-1&amp;token=2a2eb7d42a6a9857a616433e3a0bef6c"
        name="frame_navigation" />

        <frame frameborder="0" id="frame_content"
        src="main.php?lang=pl-iso-8859-2&amp;convcharset=iso-8859-1&amp;token=2a2eb7d42a6a9857a616433e3a0bef6c"
        name="frame_content" />
        <noframes>
        <body>
            <p>phpMyAdmin jest bardziej przyjazny w przeglądarkach <b>obsługujących ramki</b></p>
        </body>
    </noframes>
</frameset>
</html>

a na innych serwerach (serwery linuksowe, obydwa mają php4) takie coś:

HTTP/1.1 200 OK
Date: Wed, 25 Oct 2006 16:44:58 GMT
Server: Apache/2.0.55 (Debian) mod_ssl/2.0.55 OpenSSL/0.9.8b mod_perl/2.0.2 Perl/v5.8.8
X-Powered-By: PHP/4.4.2-1+b1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: phpMyAdmin=71a7a9ad8d7f6dd8e885e166030859e5; path=/pma/
Set-Cookie: pma_lang=pl-iso-8859-2; expires=Fri, 24 Nov 2006 16:44:59 GMT
Set-Cookie: pma_charset=iso-8859-1; expires=Fri, 24 Nov 2006 16:44:59 GMT
Set-Cookie: pma_collation_connection=deleted; expires=Tue, 25 Oct 2005 16:44:58 GMT
Set-Cookie: pma_theme=deleted; expires=Tue, 25 Oct 2005 16:44:58 GMT
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-2

af
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xml:lang="
2
pl
c
"
    lang="
2
pl
b
"
    dir="
3
ltr
9f
">
<head>
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<title>phpMyAdmin 
5
2.8.2
7
 -

f
***************
49
</title>
<meta http-equiv="Content-Type"
    content="text/html; charset=
a
iso-8859-2
5
" />

2
<s
83
cript type="text/javascript" language="javascript">
// <![CDATA[
    // definitions used in querywindow.js
    var common_query = '
50
lang=pl-iso-8859-2&convcharset=iso-8859-1&token=f85628cfceb520ec9ac33f51cf892e61
19
';
    var opendb_url = '
18
db_details_structure.php
1c
';
    var safari_browser = 
5
false
1f
;
    var querywindow_height = 
3
400
1e
;
    var querywindow_width = 
3
600
22
;
    var collation_connection = '
13
';
    var lang = '
d
pl-iso-8859-2
15
';
    var server = '
1
1
14
';
    var table = '
14
';
    var db    = '
17
';
    var text_dir = '
3
ltr
1f
';
    var pma_absolute_uri = '
1b
http://***************/pma/
14
';
// ]]>
</script>

2

<s
70
cript src="./js/querywindow.js" type="text/javascript" language="javascript">
</script>
</head>
<frameset cols="
3
200
2
,*
22
" rows="*" id="mainFrameset">

46
    <frame frameborder="0" id="frame_navigation"
        src="left.php
59
?lang=pl-iso-8859-2&amp;convcharset=iso-8859-1&amp;token=f85628cfceb520ec9ac33f51cf892e61
29
"
        name="frame_navigation" />

3b
    <frame frameborder="0" id="frame_content"
        src="
61
main.php?lang=pl-iso-8859-2&amp;convcharset=iso-8859-1&amp;token=f85628cfceb520ec9ac33f51cf892e61
26
"
        name="frame_content" />

2d
    <noframes>
        <body>
            <p>
4e
phpMyAdmin jest bardziej przyjazny w przeglądarkach <b>obsługujących ramki</b>
39
</p>
        </body>
    </noframes>
</frameset>
</html>

0

na 2 serwerze(mniej śmeici):

HTTP/1.1 200 OK
Date: Wed, 25 Oct 2006 16:54:21 GMT
Server: Apache/2.0.55 (Debian) mod_ssl/2.0.55 OpenSSL/0.9.8b mod_perl/2.0.2 Perl/v5.8.8
X-Powered-By: PHP/4.4.2-1+b1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: phpMyAdmin=95513885ee0bcbf3bd7c1fc9833b8607; path=/pma/
Set-Cookie: pma_lang=pl-iso-8859-2; expires=Fri, 24 Nov 2006 16:54:21 GMT
Set-Cookie: pma_charset=iso-8859-1; expires=Fri, 24 Nov 2006 16:54:21 GMT
Set-Cookie: pma_collation_connection=deleted; expires=Tue, 25 Oct 2005 16:54:20 GMT
Set-Cookie: pma_theme=deleted; expires=Tue, 25 Oct 2005 16:54:20 GMT
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-2

264
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xml:lang="pl"
    lang="pl"
    dir="ltr">
<head>
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<title>phpMyAdmin 2.8.2 -
    ***************</title>
<meta http-equiv="Content-Type"
    content="text/html; charset=iso-8859-2" />
<script type="text/javascript" language="javascript">
// <![CDATA[
    // definitions used in querywindow.js
    var common_query = '
151
lang=pl-iso-8859-2&convcharset=iso-8859-1&token=1a53be806e89a0b99b1beef6bf73a1ff';
    var opendb_url = 'db_details_structure.php';
    var safari_browser = false;
    var querywindow_height = 400;
    var querywindow_width = 600;
    var collation_connection = '';
    var lang = 'pl-iso-8859-2';
    var server = '1';
    var table = '
353
';
    var db    = '';
    var text_dir = 'ltr';
    var pma_absolute_uri = 'http://***************/pma/';
// ]]>
</script>
<script src="./js/querywindow.js" type="text/javascript" language="javascript">
</script>
</head>
<frameset cols="200,*" rows="*" id="mainFrameset">
        <frame frameborder="0" id="frame_navigation"
        src="left.php?lang=pl-iso-8859-2&amp;convcharset=iso-8859-1&amp;token=1a53be806e89a0b99b1beef6bf73a1ff"
        name="frame_navigation" />

        <frame frameborder="0" id="frame_content"
        src="main.php?lang=pl-iso-8859-2&amp;convcharset=iso-8859-1&amp;token=1a53be806e89a0b99b1beef6bf73a1ff"
        name="frame_content" />
        <noframes>
        <body>
            <p>phpMyAdmin jest bardziej przyjazny w przeglądarkach <b>obsługujących ramki</b></p>
        </body>
    </noframes>
</frameset>
</html>

0

Wie ktoś dlaczego tak się dzieje oraz jak to zmienić :/

Przepraszam za *** ale to jest serwer prawie rządowy ;)