Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <?php
- require_once("config.php");
- ?>
- <html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo "$website_charset"; ?>">
- <title>
- <?php
- echo "$website_title";
- ?>
- </title>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript">
- function callPHPScript() {
- var password = $('input[name=password]').val();
- var wake_up_pc = $('input[name=wake_up_pc]').val();
- $.post("wakeup.php", {
- pwd: password,
- wup: wake_up_pc
- },
- function (data) {
- $('#output').text(data);
- });
- }
- </script>
- </head>
- <body>
- Welcher Rechner soll gestartet werden?
- <br>
- <form action="">
- <input type="radio" name="wake_up_pc" value="Benziuminator" id="wake_up_pc"> Benziuminator<br>
- Passwort:
- <input type="password" name="password" id="password"><br>
- <input type="button" value="Starten!" onclick="callPHPScript()">
- </form>
- <br>
- Log:
- <div nav="output" name="output" id="output" style="border:1px solid black; width:700px; height:120px">
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment