home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-cocoon-addon-1.4.9-installer.exe / cocoon-info.php < prev    next >
Encoding:
Text File  |  2004-07-17  |  914 b   |  40 lines

  1. <html>
  2. <head>
  3. <meta name="author" content="Kay Vogelgesang, Kai Oswald Seidler">
  4. <link href="xampp.css" rel="stylesheet" type="text/css">
  5. </head>
  6.  
  7. <body>
  8. <? 
  9. include("lang/".file_get_contents("lang.tmp").".php"); 
  10. include ("where.php");
  11. ?>
  12.  
  13.  <br>
  14. <h1>Cocoon</h1>
  15.  
  16. <table border="0">
  17. <? 
  18. $host="127.0.0.1";
  19. $timeout="1";
  20.  
  21. if (($handle = @fsockopen($host, 8080, $errno, $errstr, $timeout)) == false)
  22. {
  23. echo "<tr><td width=\"*\" colspan=\"3\"><I><B>".$TEXT['info-nococoon']."</B></I></td></tr>
  24. <tr><td width=\"*\" colspan=\"3\"> </td></tr>";
  25. }
  26. else
  27. {
  28. echo "<tr><td width=\"*\" colspan=\"3\"><I><B>".$TEXT['info-okcocoon']."</B></I></td></tr>
  29. <tr><td width=\"*\" colspan=\"3\"> </td></tr>
  30. <tr><td width=\"*\" colspan=\"3\"><B><a href=\"http://127.0.0.1:8080/cocoon/\" target=\"_new\">".$TEXT['go-cocoon']."</a></B><br><br><B>".$TEXT['path-cocoon']."</B></td></tr>";
  31. }
  32. ?>
  33.  
  34. </table>
  35. <p>
  36.  
  37.  
  38. </body>
  39. </html>
  40.