Re: $_POST["mypassword"]; ***Undefined index: mypassword

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/14/07, Chetanji <chetan_graham@xxxxxxxxxxxxxx> 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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux