Hello,
Can any one help me out from php problems.
I have tired to solve this problem but php function is not working in wamp server as well tags are ignored.
can any one look in to this matter…
<blockquote> <?PHP
require_once("./include/membersite_config.php");
require_once("./include/fg_membersite.php");
if(!$fgmembersite->CheckLogin())
{
$fgmembersite->RedirectToURL("login.php");
exit;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
<title>Home page</title>
<link rel="STYLESHEET" type="text/css" href="style/fg_membersite.css">
</head>
<body>
<div class='h1'>
<div class="Top_Logo">
</div>
</div>
<div id='fg_membersite_content'>
<h2>Home Page</h2>
Welcome back
<!-- This is what it ignores, but it uses the php above perfectly fine-->
<?= $fgmembersite->UserFullName(); ?>!
<p><a href='change-pwd.php'>Change password</a></p>
<p><a href='access-controlled.php'>A sample 'members-only' page</a></p>
<br><br><br>
<p><a href='logout.php'>Logout</a></p>
</div>
</body>
</html></blockquote>
Thanks,