Petite question, j'aimerai me loger automatiquement une page web qui est en mode invisible.
Voici le code HTML de ma page :
Code : Tout sélectionner
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Centreon, Revisited Experience Of Nagios</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="./Themes/Basic/login.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="./img/iconOreon.ico">
</head>
<body OnLoad="document.login.useralias.focus();">
<form action="./index.php" method="post" name="login">
<div id="LoginInvit">
<table id="logintab1">
<tr>
<td class="LoginInvitLogo" colspan="2"><img src="img/logo_centreon_wt.gif" alt="Centreon logo" title="Centreon Logo"></td>
</tr>
<tr>
<td class="LoginInvitVersion"><br>
1.4.2.6 </td>
<td class="LoginInvitDate"><br>01/02/2011</td>
</tr>
<tr>
<td colspan="2">
<table id="logintab2">
<tr>
<td><label for="useralias">Login:</label></td>
<td><input type="text" name="useralias" value="" class="inputclassic"></td>
</tr>
<tr>
<td><label for="password">Password:</label></td>
<td><input type="password" name="password" value="" class="inputclassic"></td>
</tr>
<tr>
<td colspan="2" id="sublogin">
<input type="Submit" name="submit" value="Login" >
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="LoginInvitcpy" colspan="2">
<br>
© 2004-2007 <a href="mailto:infos@oreon-project.org">Centreon</a>
</td>
</tr>
</table>
</form>
</div></body>
</html>Et le début de mon code :
Code : Tout sélectionner
$oIE = _IECreate("http://192.168.100.41/centreon/oreon.php?p=2", 0, 0)Merci de votre aide.
Jérôme



