test URL is
Please turn your attention to the Message board login.
You may use (test123/test123) to login.
After this, it must display "Welcome: test123". But I get blank.
Current Code...
--------------------------------------------------------
<?php
ob_start();
ini_set('display_errors','on');
error_reporting(E_ALL);
session_start();
//if ( isset( $_SESSION['username'] ){
if(session_is_registered('user')){
?>
<HTML>
<HEAD>
<title>BCCI.COM - Members!!!</title>
<META name="description" content="Website for cricket fans in the world.">
<META name="keywords" content="BCCI, Cricket">
<link rel="stylesheet" type="text/css" href="/bcci.css">
</HEAD>
<body onload="document.msgform.Message.focus();">
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR bgcolor="grey" align="center" valign="middle"><TD>
<span style="font-size:12;color:blue;">
<b>Welcome: <span style="color:#D40606;"><?php echo $_SESSION['user']; ?>
</span>
</TR>
<TR><TD height="5"></TD></TD>
<TR align="center" valign="middle"><TD align="center" valign="middle">
<form method="post" name="msgform">
<input size="30" type="text" name="Message" />
<input type="submit" name="action" value="Submit" style="font-size:11;color:black;font-weight:bold;" />
<input type="submit" name="action" value="Logout" style="font-size:11;color:black;font-weight:bold;" />
</form>
</TD></TR>
</TABLE>
</body>
</HTML>
------------------------------------------------------
There is more code. Please let me know if I must provide that.
Help is very much appreciated.
Thanks
Arun
Please turn your attention to the Message board login.
You may use (test123/test123) to login.
After this, it must display "Welcome: test123". But I get blank.
Current Code...
--------------------------------------------------------
<?php
ob_start();
ini_set('display_errors','on');
error_reporting(E_ALL);
session_start();
//if ( isset( $_SESSION['username'] ){
if(session_is_registered('user')){
?>
<HTML>
<HEAD>
<title>BCCI.COM - Members!!!</title>
<META name="description" content="Website for cricket fans in the world.">
<META name="keywords" content="BCCI, Cricket">
<link rel="stylesheet" type="text/css" href="/bcci.css">
</HEAD>
<body onload="document.msgform.Message.focus();">
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR bgcolor="grey" align="center" valign="middle"><TD>
<span style="font-size:12;color:blue;">
<b>Welcome: <span style="color:#D40606;"><?php echo $_SESSION['user']; ?>
</span>
</TR>
<TR><TD height="5"></TD></TD>
<TR align="center" valign="middle"><TD align="center" valign="middle">
<form method="post" name="msgform">
<input size="30" type="text" name="Message" />
<input type="submit" name="action" value="Submit" style="font-size:11;color:black;font-weight:bold;" />
<input type="submit" name="action" value="Logout" style="font-size:11;color:black;font-weight:bold;" />
</form>
</TD></TR>
</TABLE>
</body>
</HTML>
------------------------------------------------------
There is more code. Please let me know if I must provide that.
Help is very much appreciated.
Thanks
Arun