• 25-02-2009, 14:42:17
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Linux php sunucumun özelliklerini nasıl öğrenebilirim? mysql ve php sürümünü öğrenmek istiyorum. Bir kod vardı ama googleda bulamadım.
  • 25-02-2009, 15:01:25
    #2
    Kimlik doğrulama veya yönetimden onay bekliyor.
    <?php

    ob_start();
    phpinfo();
    $phpinfo = ob_get_contents();
    ob_end_clean();

    preg_match_all('/#[0-9a-fA-F]{6}/', $phpinfo, $rawmatches);
    for ($i = 0; $i < count($rawmatches[0]); $i++)
    $matches[] = $rawmatches[0][$i];
    $matches = array_unique($matches);

    $hexvalue = '0123456789abcdef';

    $j = 0;
    foreach ($matches as $match)
    {

    $r = '#';
    $searches[$j] = $match;
    for ($i = 0; $i < 6; $i++)
    $r .= substr($hexvalue, mt_rand(0, 15), 1);
    $replacements[$j++] = $r;
    unset($r);
    }

    for ($i = 0; $i < count($searches); $i++)
    $phpinfo = str_replace($searches, $replacements, $phpinfo);
    echo $phpinfo;
    ?>


    buyur dostum kodları info.php olarak kayıt et ve siteadi.com/info.php olarak calıstır selametle
  • 25-02-2009, 15:09:19
    #3
    Üyeliği durduruldu
    <? php

    phpinfo();

    ?>

    bu kodu kullanarakta ulaşabilirsin bilgilere.
  • 25-02-2009, 15:29:09
    #4
    Teşekkürler arkadaşlar
  • 09-05-2013, 21:38:28
    #5
    bu kodları çalıştırınca şu hatayı alıyorum ya

    503 Service Unavailable

    The server is temporarily busy, try again later!
  • 17-10-2014, 22:46:53
    #6
    arkadaşlar bunun bi yöntemi var mı?
  • 07-01-2015, 06:12:29
    #7
    <? phpinfo(); ?>
  • 07-01-2015, 10:02:54
    #8
    <? phpinfo(); ?> bu kodun çalışması lazım.
  • 07-01-2015, 13:15:12
    #9
    server kaynaklı hata.

    normal şartlarda;
    <?php
    phpinfo();
    ?>
    çalışır.

    halen 503 hatası alıyorsan host firması ile irtibata geç.