PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Bogdan Zarchievici   Battlefield 2 Server Query   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example
Class: Battlefield 2 Server Query
Query information from a Battlefield 2 game server
Author: By
Last change: Version 5.0.0.a of the PHP class has been released.
Date: 18 years ago
Size: 1,878 bytes
 

Contents

Class file image Download
<html>
<head><title>Battlefield 2 Server Query PHP Class</title></head>
<body bgcolor="#F5F5F5" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">

<br/>

<form action="battlefield-2-layout.php" method="GET" name="battlefield">

<table align="center" border="0" cellpadding="0" cellspacing="0" width="50%">
    <tr bgcolor="#CCCCCC">
        <td>
            <table cellpadding="3" cellspacing="1" border="0" height="100%" width="100%">
                <tr bgcolor="#EEEEEE">
                    <td height="26" colspan="2" background="images/newback.gif"><font style="font-family: verdana, arial, helvetica, sans-serif; font-size: 13px; color: #003366; text-decoration: none; font-weight: bold;"><b>Query a Battlefield 2 server:</b></font></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                    <td><font style="font-family: verdana, arial, helvetica, sans-serif; font-size: 13px; color: #006699; text-decoration: none; font-weight: bold;"><b>IP:</b></font></td>
                    <td><input type="text" name="ip"/></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                    <td><font style="font-family: verdana, arial, helvetica, sans-serif; font-size: 13px; color: #006699; text-decoration: none; font-weight: bold;"><b>PORT:</b></font></td>
                    <td><input type="text" name="port" value="29900"/></td>
                </tr>
                <tr bgcolor="#EEEEEE">
                    <td height="26" colspan="2" background="images/newback.gif"><a href="javascript:document.battlefield.submit();" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 13px; color: #003366; text-decoration: none; font-weight: bold;">GO</a></td>
                </tr>
            </table>
        </td>
    </tr>
</table>

</form>

<br/>

</body>
</html>