gorilla1
02-23-2003, 08:26 PM
I have a script that runs fine on apache. But when I run it on IIS, I encounter the following warnings:
Warning: Undefined variable: action
on this line:
if($action == "edit") {
action is defined elsewhere like so:
echo " <a href=\"$PHP_SELF?action=edit&id=$key\">Edit</a>\n";
and a warning,
Warning: Undefined index: submit
on this line:
if($HTTP_POST_VARS['submit']) {
the submit is a form name.
What is needed to make this work on IIS?
G
Warning: Undefined variable: action
on this line:
if($action == "edit") {
action is defined elsewhere like so:
echo " <a href=\"$PHP_SELF?action=edit&id=$key\">Edit</a>\n";
and a warning,
Warning: Undefined index: submit
on this line:
if($HTTP_POST_VARS['submit']) {
the submit is a form name.
What is needed to make this work on IIS?
G