<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.geoip.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.geoip-database-info.php',
    1 => 'geoip_database_info',
    2 => 'Get GeoIP Database information',
  ),
  'up' => 
  array (
    0 => 'ref.geoip.php',
    1 => 'GeoIP İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.geoip-country-name-by-name.php',
    1 => 'geoip_country_name_by_name',
  ),
  'next' => 
  array (
    0 => 'function.geoip-db-avail.php',
    1 => 'geoip_db_avail',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/geoip/functions/geoip-database-info.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.geoip-database-info" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">geoip_database_info</h1>
  <p class="verinfo">(PECL geoip &gt;= 0.2.0)</p><p class="refpurpose"><span class="refname">geoip_database_info</span> &mdash; <span class="dc-title">Get GeoIP Database information</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.geoip-database-info-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>geoip_database_info</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$database</code><span class="initializer"> = GEOIP_COUNTRY_EDITION</span></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>


  <p class="simpara">
   The <span class="function"><strong>geoip_database_info()</strong></span> function returns the corresponding
   GeoIP Database version as it is defined inside the binary file.
  </p>

  <p class="simpara">
   If this function is called without arguments, it returns the version
   of the GeoIP Free Country Edition.
  </p>

 </div>

 <div class="refsect1 parameters" id="refsect1-function.geoip-database-info-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <dl>
   
    <dt><code class="parameter">database</code></dt>
    <dd>
     <span class="simpara">
      The database type as an integer. You can use the
      <a href="geoip.constants.php" class="link">various constants</a> defined with
      this extension (ie: GEOIP_*_EDITION).
     </span>

    </dd>
   
  </dl>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.geoip-database-info-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="simpara">
   Returns the corresponding database version, or <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> on error.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.geoip-database-info-examples">
  <h3 class="title">Örnekler</h3>
  <div class="example" id="example-1">
   <p><strong>Örnek 1 A <span class="function"><strong>geoip_database_info()</strong></span> example</strong></p>
   <div class="example-contents"><p>
    This will output information regarding the database.
   </p></div>
   <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">print </span><span style="color: #0000BB">geoip_database_info</span><span style="color: #007700">(</span><span style="color: #0000BB">GEOIP_COUNTRY_EDITION</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

   <div class="example-contents"><p>
Yukarıdaki örneğin çıktısı:</p></div>
   <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">GEO-106FREE 20060801 Build 1 Copyright (c) 2006 MaxMind LLC All Rights Reserved</pre>
</div>
   </div>
  </div>
 </div>


</div><?php manual_footer($setup); ?>