session_is_registered is deprecated

This commit is contained in:
Laurent Raufaste 2013-05-07 21:11:53 -04:00
parent 033cb3704c
commit a245103caa

View File

@ -6,7 +6,7 @@
<tr> <tr>
<th bgcolor="#224488">what do you want to do ?</th> <th bgcolor="#224488">what do you want to do ?</th>
</tr> </tr>
<? if(session_is_registered("SESSION")): ?> <?php if(isset($_SESSION['SESSION'])): ?>
<tr> <tr>
<td bgcolor="#557799"> <td bgcolor="#557799">
<b>&nbsp;- <a href="submitprod.php">add a prod</a></b><br /> <b>&nbsp;- <a href="submitprod.php">add a prod</a></b><br />
@ -146,7 +146,7 @@
</td> </td>
</tr> </tr>
<? endif; ?> <? endif; ?>
<? if(!session_is_registered("SESSION")): ?> <?php if(isset($_SESSION['SESSION'])): ?>
<form action="login.php" method="post"> <form action="login.php" method="post">
<tr><th>login to add more stuff</th></tr> <tr><th>login to add more stuff</th></tr>
<tr bgcolor="#446688"> <tr bgcolor="#446688">