RE: [PHP-INST] undefined variable error
| From: | Timothy Hitchens \(HiTCHO\) | Date: | Mon, 20 Jan 2003 06:48:35 +0000 |
| Subject: | RE: [PHP-INST] undefined variable error | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9739@lists.php.net to get a copy of this message | ||
Global vars are turned off and you instructor needs to go back to
school.
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: tim@hitcho.com.au
-----Original Message-----
From: Rod D [mailto:rodd@infoserve.net]
Sent: Monday, 20 January 2003 4:33 PM
To: php-install@lists.php.net
Subject: [PHP-INST] undefined variable error
hi folks,
i need help. i am currently taking a php course, my instructor can't
even figure it out why i'm the only one getting this problem.
just installed php 4 in my system details below:
1. used php-4.3.0- IIS installer
2. have: win2kserver with IIS
pentium 1G laptop
ie 5.00
3. went to php.ini and changed extension_dir = "c:/php"
i can't seem to get my php to work if it involves "FORMS"
i have attached 2 files and below is what i am getting as my output:
Example 3-4: Form Results
Notice: Undefined variable: FirstName in
c:\inetpub\wwwroot\myweb\example3-4.php on line 14
Your first name is .
Notice: Undefined variable: LastName in
c:\inetpub\wwwroot\myweb\example3-4.php on line 15
Your last name is .
Notice: Undefined variable: Email in
c:\inetpub\wwwroot\myweb\example3-4.php on line 16
Your E-mail address is .
Notice: Undefined variable: Comments in
c:\inetpub\wwwroot\myweb\example3-4.php on line 17
This is what you had to say: