login Authentication and creating session in php
<p>This page must be access after successful login from login page. For This Page I dont want direct access by, just putting url like :</p>

<p><code>localhost/Projectname/includes/php/manageBanner.php</code> </p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Manage Site&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;?php
session_start();
session_regenerate_id();
if(!isset($_SESSION['adminValidUser']))
{
header('Location: ../../AdminLogin.php');
}
else{
echo'&lt;form name="frmManage" action="manageBanner.php" method="post" enctype="multipart/form-data"&gt;';

echo '&lt;a href="selectImage.php"&gt; ' . "Select Images" . '&lt;/a&gt;';
echo '&lt;br&gt;';
echo '&lt;a href="uploadImage.php"&gt; ' . "Upload Images" . '&lt;/a&gt;';
echo '&lt;br&gt;';
echo '&lt;a href="removeImage.php"&gt; ' . "Remove Images" . '&lt;/a&gt;'; 
echo '&lt;br&gt;';

echo'&lt;/form&gt;';
echo'&lt;/body&gt;';
echo'&lt;/html&gt;';
}
?&gt;
</code></pre>
