Registration Form with php include
hello, please i have a registration page generated by security assist and with the structure of my site i am to include it into a page that loads multiple php files when u append its url (e.g: trial.php?key=registration)..here is my script below..the issue is whenever the registration page is included..it doesnt submit the form not validate the form...it redirects to the php file that loads the page(i.e trial.php)...any help will be appreciated as i am on a hot sit now thanks.
The page that loads other php files:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
header...Goes here
<?php
$key=$_GET['key'];
if($key=='home')
{
include('home.php'); // Home page
}
else if($key=='login')
{
include('login.php'); // Login page
}
else if($key=='registration')
{
include('registration.php'); // Terms page
}
else
{
include('users.php'); // Users Gateway
}
?>
<br />
<br />
footer...Goes here
</body>
</html>
My registration is the normal registration page generated by webassist...i havent tested the logins and update pages but sure i know they might react in similar patter..thanks