I am using PHP, Mysql on IIS5.

Process
1 -  submit a unique user name, password
2-  check against database and if successful enter details in database which
creates a primary key which is the constant between the client details table
and the projects
3 - when a successful login if the first time a blank client details form,
or if an existing client an update form with list of projects.


I do not understand how to get the primary key generated after the initial
submission to be available on each page to tie all the elements to the right
client.

I am thinking if I send the unique username as a form variable or http
variable I can use that to filter the password table to finfd the unique ID

 Mind you if I do that why don't I just use the username as the unique
Element????

The problem now is that something that my book is telling m,e is dead simple
aint so simple for me.

When I try to read the form variable I get ----
Notice: Undefined index: username in c:\inetpub\wwwroot\ias_php\success.php
on line 9

I have tried altering this parameter to 1 for an IIS server with no joy.
cgi.rfc2616_headers = 0


This is the page in question.

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<p>seuceees
<?php $HTTP_POST_VARS['username']; ?>

</p>
<p>&nbsp; </p>
</body>
</html>

Any pointers or answers will be much appreciated

Steve



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

Reply via email to