Re: Win XP prof + Mysql + Php + IIS
| From: | Chris Hayes | Date: | Mon, 17 Mar 2003 13:16:03 +0000 |
| Subject: | Re: Win XP prof + Mysql + Php + IIS | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139949@lists.php.net to get a copy of this message | ||
Since PHP 4.10 the form values (and other values) are not automagically turned into variables, for security reasons.
See http://www.php.net/release_4_1_0.php
Options: modify register_globals=On in php.ini or use
$_POST['formfieldname'] in stead of $formfieldname
At 14:06 17-3-03, you wrote:
Hello friends. This is the first time I am trying this combination : Win XP prof + Mysql + Php + IIS. When I click submit in the test1.php page, the page goes to test2.php, but shows the following error : Notice: Undefined variable: StudentLastName in c:\inetpub\wwwroot\test\test2.php on line 12 Notice: Undefined variable: StudentFirstName in c:\inetpub\wwwroot\test\test2.php on line 12 Notice: Undefined variable: StudentTelNumber in c:\inetpub\wwwroot\test\test2.php on line 12 error adding row Can someone tell me what is wrong? My code is shown below.