I am creating a portal. When the user is logged in, the control goes to portal.php
. In the portal.php page, I use the following code:
<?php
session_start();
?>
<html>
<head>
<title></title>
<link>many link tags are use </link>
</head>
<body>
------------------------(portal)----------------------------
-------------too much long html page using css,JavaScript,php,bootstrap-----------------
</body>
</html>
PHP works fine when I use HTML at least, but when I use long HTML in PHP creates an error!
Note: I am using PhpStorm as IDE in which "502 Bad Gateway" error generate!