Ok.
First i have a result-select-page displaying
the id's of my items and other values.
id1(link)
------
item 1
bla bla bla
id2(link)
------
item 2
bla bla bla
when the user selects an id link appears the accesscontrol page:
<?php
session_start();
if (!isset($uid2)) {
?>
...
<form method="get" action="<?=$REQUEST_URI?>">
<td><input type="text" name="uid2" maxlength="10"></td>
<input type="password" name="pwd2" maxlength="10"></td>
<input type="submit" name="submit" value="Log In"></td>
......
session_register("uid2");
session_register("pwd2");
this script checks the user/password against a database
if data is right... it shows the detail for the item the user selected
in detail.php
session_start();
$user = $HTTP_SESSION_VARS['uid2'];
$cod = strstr($REQUEST_URI,"=");
$cod = substr($cod,1);
and i do a select from another table...
i need to reload this page in order to show the results, otherwise, the
page is in blank. If i check the page source in my browser options, the
source
says: data missing... you need to reload.. bla bla bla....
I hope this explanation helps.
Karina
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]