[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/templates/test/ -> extensions.inc (source)

   1  <html>
   2  <head>
   3  <title>PHP Extensions</title>
   4  <style>
   5  body { background-color: white; margin-top: 0; margin-left: 20; margin-right: 20; }
   6  table { font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin-top: 0; margin-left: 0; }
   7  a { text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin-top: 0; margin-left: 0; }
   8  a:active { color: #2457ff; }
   9  a:hover { color: #2457ff; text-decoration: underline; }
  10  a:link { color: #2457ff; }
  11  a:visited { color: #2457ff; }
  12  .black { background-color: #000000; color: #ffffff; }
  13  </style>
  14  </head>
  15  <body>
  16  <a href="<?php echo isset($_GET['url']) ? htmlspecialchars($_GET['url']) : 'test.php' ?>?mode=test">&lt;&lt; Back to test.php</a>
  17  <br />
  18  <table width="100%" cellspacing="0"><tr><td colspan="2"><table>
  19  <tr><td>php version:</td><td><strong><?php echo phpversion() ?></strong></td></tr>
  20  <tr><td>server api:</td><td><strong><?php echo @php_sapi_name() ?></strong></td></tr>
  21  <tr><td>loaded extensions:</td><td><strong><?php $extensions = @get_loaded_extensions(); echo count($extensions); ?></strong></td></tr>
  22  <tr><td>system:</td><td><strong><?php echo @php_uname() ?></strong></td></tr>
  23  </table><br /></td></tr>
  24  <tr class="black">
  25  <td><strong>activated extensions:</strong></td>
  26  <td><strong><?php echo isset($_GET['ext']) ? $_GET['ext'] : '' ?> function list:</strong></td>
  27  </tr>
  28  <tr><td valign="top" width="50%"><table width="100%">
  29  <?php
  30      @sort($extensions);
  31      foreach ($extensions as $extension) {
  32          echo '<tr><td width="30%">' . $extension . '</td><td><a href="?mode=extensions&amp;ext=' . $extension . '&amp;url=' . urlencode(isset($_GET['url']) ? $_GET['url'] : '') . '">function list</a></td></tr>';
  33      }
  34  ?>
  35  </table></td><td valign="top" width="50%"><table>
  36  <?php
  37      if (isset($_GET['ext'])) {
  38          $functions = @get_extension_funcs($_GET['ext']);
  39          if (is_array($functions)) {
  40              sort($functions);
  41              foreach ($functions as $function) {
  42                  echo "<tr><td><a href=\"http://www.php.net/manual/function." . str_replace('_', '-', $function) . ".php\" target=\"_blank\">$function</a></td></tr>\n";
  43              }
  44          }
  45      }
  46  ?>
  47  </table></td></tr></table></body></html>


Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7