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

From: Date: Tue, 15 May 2007 04:35:28 +0000
Subject: Re: $_POST["mypassword"]; ***Undefined index: mypassword
References: 1 2 3 4 5  Groups: php.db php.windows 
Request: Send a blank email to php-db+get-43598@lists.php.net to get a copy of this message
the problem is right here (said on error msg): session_register("myusername"); session_register("mypassword"); u should use session_register("myusername") after declare the name. i taken from my php chm It is currently impossible to register resource variables in a session. For example, you cannot create a connection to a database and store the connection id as a session variable and expect the connection to still be valid the next time the session is restored. PHP functions that return a resource are identified by having a return type of resource in their function definition. A list of functions that return resources are available in the resource types appendix. if you understand what statement above.. conguration, if not.. don't shock.. me either. for phpWin.. this topic perhaps easy for you to answer.

« previous php.db (#43598) next »