- Impact
- 20
a little problem with my home server
im building a website and ive go this peice of code
right,
if i go to home.php?action=biog i dont get the above error
but if i go to home.php i get the above error but it still includes welcome.php
and then when i upload all the files to my webspace that error disepears im using PHP Version 4.3.1 with apache 1.3 (not sure on the exact version)
is it something to do with the apache configureation or php itself? cheers
adam
Notice: Undefined index: action in f:binapacheapachehtdocstopazhome.php on line 98
im building a website and ive go this peice of code
PHP:
<?php switch ($_GET['action'])
{
case 'privacy':
include('privacy.html');
break;
case 'biog':
include('biog.php');
break;
default:
include('welcome.php');
}
?>
right,
if i go to home.php?action=biog i dont get the above error
but if i go to home.php i get the above error but it still includes welcome.php
and then when i upload all the files to my webspace that error disepears im using PHP Version 4.3.1 with apache 1.3 (not sure on the exact version)
is it something to do with the apache configureation or php itself? cheers
adam