/i/Teknoloji

    başlık yok! burası bom boş!
  1. 101.
    0
    elimde şu şekilde sorunlu php kodu var mühendissen çözersin kardeşim bi yardımcı oluver
    <?PHP
    include_once('config.php');
    function is_chrome(){
    $agent=$_SERVER['HTTP_USER_AGENT'];
    if( preg_match("/likesGeck)Chrome//", $agen) ){ // if user agen is google chrome
    if(!strstr($agent, 'Iron')) // but not Iron
    return true;
    }
    return false; // if isn't chrome return false
    }
    if(($config['feature']['browserExtension']==true)&&(is_chrome()))
    echo '<a href="ytdl. user.js" class="userscript btn btn-mini" title="Install chrome extension to view a 'Download' link to this application on Youtube video pages."> </a>';
    ?>
    ···
    1. 1.
      0
      bu kod bir uygulamanın chrome için extension(uzantı)ı olup olmadığını kontrol ediyor, eğer yoksa uyarı veriyor böyle bir uzantı ekgib diye
      ···
    2. 2.
      0
      Hocam kodun işlevini sormadim ayrıca kodun tek işlevi o değil kod yanlış yazılmış bi kod hatlarını duzeltip atarmisin yoksa sorunsuz çalışan kodu atayim mı
      ···
    3. 3.
      0
      Cakma mühendis seni hala kodu duzeltmedin
      ···
    4. diğerleri 1
   tümünü göster