how to check value of undefined $_POST variable index?
<p>My question is that how can we check value in posted variables in $_POST without defining them as you can see in the code.</p>

<pre><code>if ($_SESSION["Admin"]=="" AND $_REQUEST[act]!="show_login" AND
$_REQUEST[act]!="chk_login" ) {  #not logged in    show_login();   
return;
</code></pre>

<p>I am getting these errors,</p>

<ul>
<li>Undefined index: act in F:\xampp\htdocs\shangloo\admin\index.php on
line 6</li>
<li>Undefined index: Admin in F:\xampp\htdocs\shangloo\admin\index.php on
line 6</li>
</ul>
