On Mon, 12 Jul 2004 23:25:18 +0000 (UTC), "jennsite"
<webforumsuser (AT) macromedia (DOT) com> wrote:
Quote:
ok. switched the code as you suggested. not getting the later errors about
undefined variables name, etc. but still getting runtime error about post
being undefined. And no message is coming through after mail is sent coming
sending to the user. Just a blank page. Though we are moving the mail now.  |
Perhaps you have a version of PHP older than 4.1.0. Replace the
following four lines:
$name=stripslashes(trim($_POST['name']));
$email=stripslashes(trim($_POST['email']));
$company=stripslashes(trim($_POST['company']));
$message=stripslashes(trim($_POST['message']));
with these:
$name=stripslashes(trim($HTTP_POST_VARS['name']));
$email=stripslashes(trim($HTTP_POST_VARS['email']));
$company=stripslashes(trim($HTTP_POST_VARS['company']));
$message=stripslashes(trim($HTTP_POST_VARS['message']));
Gary