Hi,
---Beat y'all to this one i'm afraid....
fixed this issue i had by doing the following...
<?php
if (isset($_POST['email']||(isset($_POST['message'])) {
$email=$_POST['email] ;
etc etc
:)
Hopefully someone has come accross this before, this is my first attempt with coding php so please understand my stupidness!!! I am getting an undefined index error in the following code... and i can't pin it down at all... (I'm going to remove some of the working code so as to not waste everyone's time!) The error is on lines 2 and 3 apparently...
<?php
$email=$POST['email'];
$message=$POST['message'];
if (!isset($_POST['email'])) {
?>
etc etc
I've found that if i change the code thus...
<?php
error_reporting(0)
$email=$_POST['email'];
etc etc
The file will work on my local machine (php5 & apache 2) however will not work when i upload to my webhost.... returns an internal server error, i believe this would be due to the fact that the errors still occurr i just don't report on them in the change above... a rather nasty hack around the problem i'd say....