M thanks, a combination of
// Emulate register_globals on
if (!ini_get('register_globals')) {
$superglobals = array($SERVER, $ENV,
$FILES, $COOKIE, $POST, $GET);
if (isset($SESSION)) {
array_unshift($superglobals, $SESSION);
}
foreach ($superglobals as $superglobal) {
extract($superglobal, EXTR_SKIP);
}
}
Put in at the very beginning of any php
and
isset($_POST['Sendemail'])
Has done the trick and the php files are now working fine. Phew. I know the above is a bit of a fudge, but I don't want to do loads of coding on it