Skip to content

Instantly share code, notes, and snippets.

Created February 20, 2017 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4444af1c3a8c86b599dbce91bebfaf39 to your computer and use it in GitHub Desktop.
Save anonymous/4444af1c3a8c86b599dbce91bebfaf39 to your computer and use it in GitHub Desktop.
<?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