Hello, I'm just getting starting in php and MySQL and I've got my
application working correctly on my local windows XP computer. Now, when I
publish to my ISP it's not going so well, which is also a Windows server.
I'm using form variables to control navigating to different pages when a
page is reloaded. As I said no problem on my machine but on the ISP server
I'm getting the following messages snd of course it's not working. Both
systems are running php version 4.3.10.
Thank you for any help provided because I'm really stumped!
Vic
Notice: Undefined index: Home in
d:\html\users\1 49999\mydomainc om\html\myfolde r\Member_Page.p hp on line 11
Notice: Undefined index: Clear in
d:\html\users\1 49999\mydomainc om\html\myfolde r\Member_Page.p hp on line 14
Notice: Undefined index: Update in
d:\html\users\1 49999\mydomainc om\html\myfolde r\Member_Page.p hp on line 16
Notice: Undefined variable: button in
d:\html\users\1 49999\mydomainc om\html\myfolde r\Member_Page.p hp on line 24
Notice: Undefined index: do in
d:\html\users\1 49999\mydomainc om\html\myfolde r\Member_Page.p hp on line 187
if ($_POST['Home'])
{
$button = "Home"; }
else if ($_POST['Clear']) {
$button = "Clear"; }
else if ($_POST['Update']) {
$button = "Update"; }
switch ($button)
{
case "Clear":
if (isset($selecte dRow))
unset ($selectedRow);
$items = 1;
$street2 = " ";
$comments= " ";
$OriginAirport= "PDX";
$searchState = "Oregon";
$message_new = "New Item? Please complete following fields:";
include("BagDet ail_form.inc");
break;
case "Home":
// Load the Home Page
$_SESSION['auth']="yes";
$_SESSION['logname'] = $newname;
header("Locatio n: index.php");
break;
case "Update":
foreach($_POST as $field => $value)
{
if ($field != "email" and $field !="street2" and $field
!="comments")
application working correctly on my local windows XP computer. Now, when I
publish to my ISP it's not going so well, which is also a Windows server.
I'm using form variables to control navigating to different pages when a
page is reloaded. As I said no problem on my machine but on the ISP server
I'm getting the following messages snd of course it's not working. Both
systems are running php version 4.3.10.
Thank you for any help provided because I'm really stumped!
Vic
Notice: Undefined index: Home in
d:\html\users\1 49999\mydomainc om\html\myfolde r\Member_Page.p hp on line 11
Notice: Undefined index: Clear in
d:\html\users\1 49999\mydomainc om\html\myfolde r\Member_Page.p hp on line 14
Notice: Undefined index: Update in
d:\html\users\1 49999\mydomainc om\html\myfolde r\Member_Page.p hp on line 16
Notice: Undefined variable: button in
d:\html\users\1 49999\mydomainc om\html\myfolde r\Member_Page.p hp on line 24
Notice: Undefined index: do in
d:\html\users\1 49999\mydomainc om\html\myfolde r\Member_Page.p hp on line 187
if ($_POST['Home'])
{
$button = "Home"; }
else if ($_POST['Clear']) {
$button = "Clear"; }
else if ($_POST['Update']) {
$button = "Update"; }
switch ($button)
{
case "Clear":
if (isset($selecte dRow))
unset ($selectedRow);
$items = 1;
$street2 = " ";
$comments= " ";
$OriginAirport= "PDX";
$searchState = "Oregon";
$message_new = "New Item? Please complete following fields:";
include("BagDet ail_form.inc");
break;
case "Home":
// Load the Home Page
$_SESSION['auth']="yes";
$_SESSION['logname'] = $newname;
header("Locatio n: index.php");
break;
case "Update":
foreach($_POST as $field => $value)
{
if ($field != "email" and $field !="street2" and $field
!="comments")
Comment