nettoyage fichiers inutiles

This commit is contained in:
Jérôme Bousquié 2016-11-25 14:13:45 +01:00
parent 7dd0257179
commit 6b0e028110
2 changed files with 0 additions and 56 deletions

View File

@ -1,49 +0,0 @@
<?php
include 'XMPPHP/XMPP.php';
$pc=$_GET["pc"];
#Use XMPPHP_Log::LEVEL_VERBOSE to get more logging for error reports
#If this doesn't work, are you running 64-bit PHP with < 5.2.6?
$conn = new XMPPHP_XMPP('jabber.iut.rdz', 5222, 'winlog', 'winlog', 'xmpphp', 'iut.rdz', $printlog=false, $loglevel=XMPPHP_Log::LEVEL_INFO);
try {
$conn->connect();
$conn->processUntil('session_start');
$conn->presence();
//$msg = "task ".$pc." | findstr DOMETUD | sort";
//$msg = "reload-execute";
$msg = "task ".$pc." | findstr IUT | sort";
$conn->message('windows@iut.rdz', $msg);
$conn->disconnect();
} catch(XMPPHP_Exception $e) {
die($e->getMessage());
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Machine <? echo($pc); ?></title>
<script type="text/javascript" src="jquery/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="strophejs/core.js"></script>
<script type="text/javascript" src="strophejs/md5.js"></script>
<script type="text/javascript" src="strophejs/base64.js"></script>
<script type="text/javascript" src="infopc.js"></script>
</head>
<body>
<h1>Machine <? echo($pc) ; ?></h1>
<h2>Processus</h2>
<div id="resultats"></div>
<br>
<h3>Notifications</h3>
<div id="notifications"></div>
</body>
</html>

View File

@ -1,7 +0,0 @@
<?php
$db_server = "p:localhost";
$db_dbname ="winlog";
$db_user = "db_user";
$db_passwd = "db_password";
$server_code = "salt";
?>