Created
February 20, 2017 16:47
-
-
Save anonymous/4444af1c3a8c86b599dbce91bebfaf39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
session_start(); | |
if ((!isset($_SESSION['zalogowany'])) && ($_SESSION['zalogowany']==false)) | |
{ | |
header("Location: index.php"); | |
exit(); | |
} | |
?> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>czat</title> | |
<script src="jquery-3.1.1.min.js"></script> | |
<script src="czatjs.js"></script> | |
</head> | |
<body> | |
<?php | |
echo $_SESSION['idUser']; | |
?> | |
<div> | |
<div> | |
<h1>czat </h1> | |
</div> | |
<div id="pojemnik"> | |
</div> | |
</div> | |
<form> | |
<input type="text" id="textSend"> | |
<button id="send" type="button">Wyślij</button> | |
</form> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment