voici le test.php: <?php phpinfo(); ?>
et voici l'autre: index.php
<?
include_once ("auth.php" );
include_once ("authconfig.php" );
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="author" content="Mariusz, Andrea" />
<meta http-equiv="reply-to" content="jjjjjjjjjjjjjjjjjjj" />
<meta name="keywords" content="jjjjjjjjjjj" />
<meta name="copyright" content="jjjjjjjjjjjjjjj" />
<meta http-equiv="content-language" content="en-us" />
<meta name="robots" content="ALL" />
<meta name="distribution" content="GLOBAL" />
<link href=../css/stylemainpage.css rel=stylesheet type=text/css />
<script language="javascript" type="text/javascript">
<!--
function testuj(f) {
if (f.login.value.length<1) { alert("Login field is empty !" ); return false; }
if (f.pass.value.length<1) { alert("Password field is empty !" ); return false; }
return true;
}
// -->
</script>
<STYLE TYPE="text/css">
<!--
A:link, A:visited { text-decoration: none }
A:hover { text-decoration: underline }
-->
</STYLE>
</head>
<body >
<table align="center" cellpadding="3" cellspacing="3" style="border-style:solid; border-width:1px; border-color:black;">
<tr><td>
<table id=table1 align="center" cellpadding="0" cellspacing="0">
<tr>
<td id =td_1>
<table id=mainTable cellspacing=0 cellpadding="0">
<tr>
<td id = header></td>
</tr>
<tr>
<td><div id = blue_row1></td>
</tr>
<tr>
<td id = redBelt></td>
</tr>
</table>
<table id=table2 cellpadding="0" cellspacing="0">
<tr >
<td><div id = blank_row1></td>
</tr>
<tr>
<td id=cell2 >
<img src="img/labelKeystone.JPG">
</td>
</tr>
<tr >
<td><div id = blank_row2></td>
</tr>
<form name="logowanie" action="functions.php" method="POST" onsubmit="return testuj(this);">
<tr valign="bottom">
<td id=cell2>
<table><tr><td>
<ul>
<li><font face="verdana" size="2">Users with access rights</font></li>
</ul> </td></tr>
<tr><td>
<div id="label_black">Login<font color=red>*</font></td><td>
<input type = text name="login" style="border:1pt solid #000000; background-color: #FFFFFF;
font-size: 8pt; font-family: Verdana; width: 150px; height: 20px;"></tD></tr></div>
<tr><Td>
<div id="label_black_1">Password<font color=red>*</font> </td><td>
<input type = "password" name="pass" style="border:1pt solid #000000; background-color: #FFFFFF;
font-size: 8pt; font-family: Verdana; width: 150px; height: 20px;"></div> </td></tr>
<tr><td>
<div id="label_black_2">Company </td><Td>
<? php
mysql_connect($mysqlhost, $mysqluser, $mysqlpass);
mysql_select_db($mysqlbase);
$result = mysql_query("SELECT * FROM PORTAL_CREATORS" );
echo "<select name=\"company\" style=\"width:150px; height:20px; border-width: 1px; border-color:black; scrollbar-face-color:white;\"><option selected value=\"\">";
while($result and $data = mysql_fetch_array($result)) {
$cmpname = $data["name"];
$id=$data["id"];
echo "<option value=\"$cmpname\">$cmpname</option>";
}
echo "</select>";
?>
</td></tr>
</div>
<div id=btn_ok><tr><td></td><td align="right"><input type="image" src="images/btn_ok.JPG"></td></tr></table>
</form></div>
</td>
<td rowspan="2" align="center">
<img src="img/photoFemme.JPG">
</td>
</tr>
<tr>
<td id=cell2 >
<ul>
<li><font face="verdana" size="2">Users without access rights </li>
</ul>
<div id="label_red"><b>> <a href="register.php" title="Register a new account for yourself."><font color="#ac1100">I want to register now!</font></a></div>
<div id="label_red"><b>> WIKI Access<div>
</td>
</tr>
<tr>
<td><div id = blank_row1></td>
</tr>
</table>
</td>
</tr>
<tr>
<td id=footer align=right><a href="pp.php"><font color="Black">Privacy Policy</a> | <a href="tc.php"><font color="Black">Terms & Conditions</a></td>
</tr>
</table>
</tr></tr></table>
</body>
</html>