Any special functions need to be loded to accept forms?

From: Date: Sun, 03 Nov 2002 23:17:32 +0000
Subject: Any special functions need to be loded to accept forms?
Groups: php.windows 
Request: Send a blank email to php-windows+get-16707@lists.php.net to get a copy of this message
I am trying to submit a form on my apache server running win2k and php4 using php, but I get the error: Notice: Undefined variable: submitform in C:\www\\emailform.php on line 9 The exact same php script works on another server running linux/apache/php4 Does anyone know if I need to load any extensions in my php.ini file in order for php to receive variables defined in an html form? Or maybe what else might be the problem? here are the lines around line 1-20: <HTML> <HEAD> <TITLE>Email</TITLE> </HEAD> <BODY BGCOLOR="#ffffff"> <?php $youremail = "ha@meme.com"; $subject = "Contact Form"; if($submitform) { $dcheck = explode(",",$require); while(list($check) = each($dcheck)) { if(!$$dcheck[$check]) { $error .= "Missing $dcheck[$check]<BR>"; } Thanks! Luke :) }

« previous php.windows (#16707) next »