Français
PHP, HTML & JavaScript- Forum

PHP & MySQL Kompatiblitäts Test

 

Michael
Dell
cette Fund sollte dem une ou bien andern nützlich son.
KompilierenMarqueSéparation
!<?
 $PHP_VERSION                 = phpversion();
 $MYSQL                       = extension_loaded(mysql);
 $OPTIONS[disable_function] = ini_get(disable_function);
 $OPTIONS[file_uploads]     = ini_get(file_uploads);
 $OPTIONS[include_path]     = ini_get(include_path);
 $OPTIONS[register_globals] = ini_get(register_globals);
 $OPTIONS[safe_mode]        = ini_get(safe_mode);
 $OPTIONS[safe_mode_gid]    = ini_get(safe_mode_gid);
 $OPTIONS[sendmail_path]    = ini_get(sendmail_path);
while(list($k,$v) = each($OPTIONS))

{

    if(!$v)
     $OPTIONS[$k] = "Off";
    elseif($v == 1)
     $OPTIONS[$k] = "On";

}

if($MYSQL = 1) $MYSQL = Yes;
 $version = str_replace(".","",$PHP_VERSION);
if($version < 410)

{

     $COMPAT[php] = No;
     $BG[php] = "#FF3300";
     $PACKAGES[gpl] = FALSE;
     $PACKAGES[standard] = FALSE;

}

else

{

     $COMPAT[php] = Yes;
     $BG[php] = "#FFFFFF";
     $PACKAGES[gpl] = TRUE;
     $PACKAGES[standard] = FALSE;

}

if($MYSQL != Yes)

{

     $COMPAT[mysql] = No;
     $BG[mysql] = "#FF3300";
     $PACKAGES[gpl] = FALSE;
     $PACKAGES[standard] = FALSE;

}

else

{

     $COMPAT[mysql] = Yes;
     $BG[mysql] = "#FFFFFF";
     $PACKAGES[gpl] = TRUE;
     $PACKAGES[standard] = FALSE;

}

if(strstr($OPTIONS[disable_function],"dl"))

{

     $COMPAT[disable_function] = No;
     $BG[disable_function] = "#FF3300";
     $PACKAGES[gpl] = FALSE;
     $PACKAGES[standard] = FALSE;

}

else

{

     $COMPAT[disable_function] = Yes;
     $BG[disable_function] = "#FFFFFF";
     $PACKAGES[gpl] = TRUE;
     $PACKAGES[standard] = FALSE;

}

if($OPTIONS[file_uploads] != On)

{

     $COMPAT[file_uploads] = No;
     $BG[file_uploads] = "#FF3300";
     $PACKAGES[gpl] = FALSE;
     $PACKAGES[standard] = FALSE;

}

else

{

     $COMPAT[file_uploads] = Yes;
     $BG[file_uploads] = "#FFFFFF";
     $PACKAGES[gpl] = TRUE;
     $PACKAGES[standard] = FALSE;

}

if(!strstr($OPTIONS[include_path],".:"))

{

     $COMPAT[include_path] = No;
     $BG[include_path] = "#FF3300";
     $PACKAGES[gpl] = FALSE;
     $PACKAGES[standard] = FALSE;

}

else

{

     $COMPAT[include_path] = Yes;
     $BG[include_path] = "#FFFFFF";
     $PACKAGES[gpl] = TRUE;
     $PACKAGES[standard] = FALSE;

}

if($OPTIONS[register_globals] != On)

{

     $COMPAT[register_globals] = No;
     $BG[register_globals] = "#FF3300";
     $PACKAGES[gpl] = FALSE;
     $PACKAGES[standard] = FALSE;

}

else

{

     $COMPAT[register_globals] = Yes;
     $BG[register_globals] = "#FFFFFF";
     $PACKAGES[gpl] = TRUE;
     $PACKAGES[standard] = FALSE;

}

if($OPTIONS[safe_mode] != Off)

{

     $COMPAT[safe_mode] = No;
     $BG[safe_mode] = "#FF3300";
     $PACKAGES[gpl] = FALSE;
     $PACKAGES[standard] = FALSE;

}

else

{

     $COMPAT[safe_mode] = Yes;
     $BG[safe_mode] = "#FFFFFF";
     $PACKAGES[gpl] = TRUE;
     $PACKAGES[standard] = FALSE;

}

if($OPTIONS[safe_mode_gid] != Off)

{

     $COMPAT[safe_mode_gid] = No;
     $BG[safe_mode_gid] = "#FF3300";
     $PACKAGES[gpl] = FALSE;
     $PACKAGES[standard] = FALSE;

}

else

{

     $COMPAT[safe_mode_gid] = Yes;
     $BG[safe_mode_gid] = "#FFFFFF";
     $PACKAGES[gpl] = TRUE;
     $PACKAGES[standard] = FALSE;

}

if(!strstr($OPTIONS[sendmail_path],"sendmail"))

{

     $COMPAT[sendmail_path] = No;
     $BG[sendmail_path] = "#FF3300";
     $PACKAGES[gpl] = FALSE;
     $PACKAGES[standard] = FALSE;

}

else

{

     $COMPAT[sendmail_path] = Yes;
     $BG[sendmail_path] = "#FFFFFF";
     $PACKAGES[gpl] = TRUE;
     $PACKAGES[standard] = FALSE;

}

?>
<html>
<head>
<title>PHP & MySQL Test- Seite</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="750" border="0" cellspacing="0" cellpadding="2" align="center">
<tr>
<td colspan="3"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b><font size="3" color="#3366CC">
PHP & MySQL Kompatiblitäts Test</font></b></font></td>
</tr>
<tr>
<td colspan="3">&nbsp;</td>
</tr>
<tr>
<td colspan="3"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">The
Dieses Script prüft die kompatiblität Ihres Server´s auf <b>PHP & MySQL</b><br>
Was nicht dem Standart entspricht erscheint<font color="#ff0000"><b> ROT</b></font>.<br>
<br>
<font size="1"><strong><font color="#990000">Achtung:</font></strong> Dieses Scipt ist eine Hilfe keine Garantie!</font></font></td>
</tr>
<tr>
<td colspan="3">&nbsp;</td>
</tr>
<tr>
<td colspan="3" bgcolor="#3366CC">
<div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif"><b>Kompatibel</b></font></div>
</td>
</tr>
</table>
<table width="750" border="0" cellspacing="1" cellpadding="2" align="center" bgcolor="#CCCCCC">
<tr bgcolor="#ffe889">
<td width="294">
<div align="center"><font color="#000000"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Einstellung</font></b></font></div>
</td>
<td width="267">
<div align="center"><font color="#000000"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Wert</font></b></font></div>
</td>
<td width="173">
<div align="center"><font color="#000000"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Kompatibel</font></b></font></div>
</td>
</tr>
<tr bgcolor="<?=$BG[php]?>">
<td width="294"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">PHP
version</font></td>
<td width="267">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<?=$PHP_VERSION?>
</font></div>
</td>
<td width="173">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<?=$COMPAT[php]?>
</font></div>
</td>
</tr>
<tr bgcolor="<?=$BG[mysql]?>">
<td width="294"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">MySQL
support</font></td>
<td width="267">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<?=$MYSQL?>
</font></div>
</td>
<td width="173">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<?=$COMPAT[mysql]?>
</font></div>
</td>
</tr>
<tr bgcolor="<?=$BG[disable_function]?>">
<td width="294"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">disable_function</font></td>
<td width="267">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<?=$OPTIONS[disable_function]?>
</font></div>
</td>
<td width="173">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<?=$COMPAT[disable_function]?>
</font></div>
</td>
</tr>
<tr bgcolor="<?=$BG[file_uploads]?>">
<td width="294"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">file_uploads</font></td>
<td width="267">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<?=$OPTIONS[file_uploads]?>
</font></div>
</td>
<td width="173">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><?=$COMPAT[file_uploads]?></font></div>
</td>
</tr>
<tr bgcolor="<?=$BG[include_path]?>">
<td width="294"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">include_path</font></td>
<td width="267">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<?=$OPTIONS[include_path]?>
</font></div>
</td>
<td width="173">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><?=$COMPAT[include_path]?></font></div>
</td>
</tr>
<tr bgcolor="<?=$BG[register_globals]?>">
<td width="294"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">register_globals</font></td>
<td width="267">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<?=$OPTIONS[register_globals]?>
</font></div>
</td>
<td width="173">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><?=$COMPAT[register_globals]?></font></div>
</td>
</tr>
<tr bgcolor="<?=$BG[safe_mode]?>">
<td width="294"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">safe_mode</font></td>
<td width="267">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<?=$OPTIONS[safe_mode]?>
</font></div>
</td>
<td width="173">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><?=$COMPAT[safe_mode]?></font></div>
</td>
</tr>
<tr bgcolor="<?=$BG[safe_mode_gid]?>">
<td width="294"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">safe_mode_gid</font></td>
<td width="267">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<?=$OPTIONS[safe_mode_gid]?>
</font></div>
</td>
<td width="173">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><?=$COMPAT[safe_mode_gid]?></font></div>
</td>
</tr>
<tr bgcolor="<?=$BG[sendmail_path]?>">
<td width="294"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">sendmail_path</font></td>
<td width="267">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<?=$OPTIONS[sendmail_path]?>
</font></div>
</td>
<td width="173">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><?=$COMPAT[sendmail_path]?></font></div>
</td>
</tr>
</table>
<br>
<p>&nbsp;</p>
<
gt;&nbsp;</p></body> </html>

Michael...
 
Salu Michael...

Hab zwar krumme Fieß awer dofir e' ecklich Gsicht! 
21.03.2005  
 



répondre


Topictitle, max. 100 marque.
 

Systemprofile:

ne...aucune Systemprofil angelegt. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

s'il te plaît s'inscrire um une Beitrag trop verfassen.
 

Options du sujet

1.770 Views

Untitledvor 0 min.
Peter Max Müller15.01.2024
Michael W.03.05.2018
Josef08.06.2016
Untitled30.03.2011
plus...

Themeninformationen

cet Thema hat 1 participant:

Michael Dell (1x)


Admins  |  AGB  |  Applications  |  Auteurs  |  Chat  |  protection des données  |  Télécharger  |  Entrance  |  Aider  |  Merchantportal  |  Empreinte  |  Mart  |  Interfaces  |  SDK  |  Services  |  Jeux  |  cherche  |  Support

un projet aller XProfaner, qui il y a!


Mon XProfan
Privé Nouvelles
Eigenes Ablageforum
Sujets-La liste de voeux
Eigene Posts
Eigene Sujets
Zwischenablage
Annuler
 Deutsch English Français Español Italia
Traductions

protection des données


Wir verwenden Cookies seulement comme Session-Cookies à cause de qui technischen Notwendigkeit et chez uns gibt es aucun Cookies de Drittanbietern.

si du ici sur unsere Webseite klickst ou bien navigierst, stimmst du unserer Erfassung de Informationen dans unseren Cookies sur XProfan.Net trop.

Weitere Informationen trop unseren Cookies et en supplément, comment du qui Kontrolle par-dessus behältst, findest du dans unserer nachfolgenden Datenschutzerklärung.


d'accordDatenschutzerklärung
je voudrais keinen Cookie