You are here: difference between versions « All PHP « IT news, forums, messages
difference between versions

Posted by Pasquale on 01/12/06 22:18

Is it possible that there is such a difference between version 4.3.10
and 5.1.1 that the following code, which is at the top of my script,
gives the errors below in v5.1.1 and not in 4.3.10 running on NT??

Is my coding method incorrect?

It works without errors on an NT machine with another host using v4.3.10.

Thanks.

## BEGIN CODE

$rqrd = array(
'First name' => $fname, 'Last name' => $lname,
'Email' => $email, 'User name' => $uname,
'Password' => $password, 'Company' => $company,
'Nature of the Business' => $naturebusi, 'Address' => $address,
'City' => $city, 'Province' => $provstate,
'Postal/Zip code' => $postalzip, 'Phone number' => $phonenum
);

## END CODE


## BEGIN ERROR

Notice: Undefined variable: fname in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 7

Notice: Undefined variable: lname in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 7

Notice: Undefined variable: email in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 8

Notice: Undefined variable: uname in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 8

Notice: Undefined variable: password in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 9

Notice: Undefined variable: company in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 9

Notice: Undefined variable: naturebusi in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 10

Notice: Undefined variable: address in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 10

Notice: Undefined variable: city in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 11

Notice: Undefined variable: provstate in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 11

Notice: Undefined variable: postalzip in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 12

Notice: Undefined variable: phonenum in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 13

## END ERROR

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация