<?php
if ($_REQUEST['c'] == "1") {
echo "<p style=\"text-align: center;\">Your shell account has been setup. Please check your inbox.</p>";
}
elseif ($_REQUEST['c'] == "2") {
echo "<p style=\"color: red; text-align: center;\">There was a problem setting up your account! Please contact Fike via his details <a href=\"http://fike.me\">here</a>.</p>";
}
else {
include("elements/signup_form.php");
}
Could somebody tell me what I’m doing wrong? When I request the normal page, it’s supposed to display the form, however it gives me these errors:
Notice: Undefined index: c in C:\xampp\htdocs\index.php on line 27
Notice: Undefined index: c in C:\xampp\htdocs\index.php on line 30
Try checking if
$_REQUEST['c']exists as well: