|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-05-03 15:23 UTC] drwho_who at yahoo dot com
[2019-05-03 15:27 UTC] peehaa@php.net
-Status: Open
+Status: Not a bug
[2019-05-03 15:27 UTC] peehaa@php.net
[2019-05-03 15:32 UTC] spam2 at rhsoft dot net
[2019-05-03 15:32 UTC] drwho_who at yahoo dot com
[2019-05-03 15:38 UTC] lulz at lel dot lol
[2019-05-03 15:43 UTC] drwho_who at yahoo dot com
[2019-05-03 15:45 UTC] spam2 at rhsoft dot net
[2019-05-03 15:47 UTC] daverandom@php.net
-Block user comment: No
+Block user comment: Yes
[2019-05-03 15:47 UTC] daverandom@php.net
[2019-05-03 15:47 UTC] daverandom@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 05:00:01 2025 UTC |
Description: ------------ <? session_start(); ob_start(); if (isset($_SESSION['username']) && $_SESSION['jur']) { } else { header("Location: login.php"); } ?> Test script: --------------- <? session_start(); ob_start(); if (isset($_SESSION['username']) && $_SESSION['jur']) { } else { header("Location: login.php"); } ?> Expected result: ---------------- I would expect a user not to be able to get to this page, or the page completely error out if missing the php in <?