Well, well, I just logged on to test the crypt output by typing in wrong
username/password pairs and got this output from the "var_dump($_POST);"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;incorrect
username/password pair;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
array(3) { ["myusername"]=>  string(8) "asdfasdf" ["mypassword"]=> 
string(6) "hjklhj" ["Submit"]=>  string(5) "Login" }
array(3) { ["myusername"]=>  string(8) "asdfasdf" ["mypassword"]=> 
string(6) "hjklhj" ["Submit"]=>  string(5) "Login" }
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;correct
username/password pair;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
array(3) { ["myusername"]=>  string(6) "amrita" ["mypassword"]=>  string(4)
"tech" ["Submit"]=>  string(5) "Login"} 
array(3) { ["myusername"]=>  string(6) "amrita" ["mypassword"]=>  string(4)
"tech" ["Submit"]=>  string(5) "Login"}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
This gives me hard evidence that the $_POST array is working just fine, but
what is it??? that is not seeing that "mypassword' and "myusername" are
defined?
So what does this tell you?
Thanks,
Chetanji





Dimiter Ivanov wrote:
> 
> On 5/14/07, Chetanji <[EMAIL PROTECTED]> wrote:
>>
>> I corrected a small spelling error to make the situation more
>> understandable.
>> Everything is the same I am stuck!
>> Thanks in Advance, Chetanji
>>
>> Chetanji wrote:
>> >
>> >
>> >
>> > All the errors are gone but this nagging one.  I am running a login
>> script
>> > and getting this error...
>> >
>> > To bring the username and password into the processing script I am
>> doing
>> > it this way, and having trouble.
>> > I have spent too many hours working on this one issue.  Please help
>> > someone.
>> > Blessings, Chetan
>> >
>> > $myusername=$_POST["myusername"];
>> > $mypassword=$_POST["mypassword"];
>> >
>> >
>> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
>> > Notice: Undefined index: myusername in
>> > C:\Inetpub\wwwroot\AimsSite\docproedit\login.php on line 13
>> >
>> > Notice: Undefined index: mypassword in
>> > C:\Inetpub\wwwroot\AimsSite\docproedit\login.php on line 13
>> >
> 
> Those messages mean that the variables $_POST["myusername"] and
> $_POST["mypassword"]; are not set.
> Try dumping the $_POST array "var_dump($_POST);" , to see what is in
> there, before you assign the values to $mypassword and $myusername.
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/PHP-to-md5-the-%24var-before-it-reaches-MySQL%27s-gen-query-log-tf3731340.html#a10606727
Sent from the Php - Database mailing list archive at Nabble.com.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to