I feel a little silly. I love using PHP, but I think I may need a little javascript for this. I want one link to activate after a user has been verified and is in session. What I've constructed works, but it's not seemless and kinda gross, take a look:
Code:
1 <?php
2 session_start();
3 ?>
4 <title>Directory Info</title>
5 <link rel="stylesheet" type="text/css" href="../includes/default.css" />
6 <meta HTTP-EQUIV="Refresh" content="7;url=header.php?PHPSESSID=<?php echo $PHPSESSID;?>">
7 </head>
8 <body>
9 <table border="0" cellspacing="0" cellpadding="0" align="center" width="661">
10 <tr>
11 <td colspan="2"><img src="../images/top.gif" width="803" height="26"></td>
12 </tr>
13 <tr>
14 <td colspan="2"><img src="../images/shout_banner.gif" width="803" height="79"></td>
15 </tr>
16 </table>
17 <center>
18 <table summary="" width="640">
19 <tr>
20 <td align="center"><h2>Secure Download Section</h2></td><td align="right">
21 <?php
22 if (!session_is_registered('userid')){
23 echo 'Must Log On';
24 }
25 else{
26 echo '<a href="logout.php?PHPSESSID=', $PHPSESSID, '" target="body">Log Off</a>';
27 }
28 ?>
29 </tr>
30 <tr>
31 </table>
32 </body>
33 </html>
[code]
Is there anything more simple one can do here? [B].:TUCK:.[/B]