Hello, and I hope to god someone in here can answer my question as I am at
my wits end.


System, Mysql 4xx, php 4.3x, DWMX 2004, phpMyadmin 2.5, WinXP Pro, IIS

Will be uploading to a unix server

THE PLAN
to register users in a LOGIN table, if successful take them to the login
page where they login, and this brings up a page with their info from the
registration process .


THE PROBLEM
I am using DWMX04 to create and populate these tables and all seems well. I
can  successfully register a new user in the LOGIN  table, but when I go to
login in the login_id (The Master Key for all subsequent tables and tows
related to this user) is not made available to the target page and the
default is used so no matter who logs in they always see the info for the
first user.

..

this is the dynamic table entry
                    $colname_rs_log_info = "1";
                            if (isset($_GET['login_id'])) {
                              $colname_rs_log_info =
(get_magic_quotes_gpc()) ? $_GET['login_id'] :
addslashes($_GET['login_id']);these take them to a welcome page with
this is the update entry
                    $colname_rs_login_check = "1";
                    if (isset($_COOKIE['login_id'])) {
                      $colname_rs_login_check = (get_magic_quotes_gpc()) ?
$_COOKIE['login_id'] :                     addslashes($_COOKIE['login_id']);
                    }

I have tried all the combinations of the recordset wizard (except the
correct one - no doubt), I have checked that session_start(); is on and that
global variables is on (though I would have to turn these off when uploading
to hosting server).

Thanks in advance

stu







-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to