survey_seahorse

Software Engineering Project - Fall 2018
Log | Files | Refs | README

commit fde082fb92fec51ac0bc3933b5d04412e24aa178
parent 97fe8c99df60ea6aed8e04804fb3b4574f32c8b3
Author: aelasmai <43659122+aelasmai@users.noreply.github.com>
Date:   Tue, 18 Dec 2018 11:31:35 -0500

Update createsurvey.php
Diffstat:
Mwebsite/createsurvey.php | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/website/createsurvey.php b/website/createsurvey.php @@ -23,6 +23,11 @@ <input type="radio" name="once" value="1"> No <br> <button type="submit" name="submit">Create Survey</button> - + + <?php session_start(); + if(!isset($_SESSION['uid'])){ + header("location: login.php?user=notloggedin"); + } + ?> </form> </html>