My scripts have been working since past 3 years. But now recently the page doesn''t work well. The page is working well under php4 in localhost but in the server side this seems to be error. on the server side our server switch over to php4 to php5 version. even the simple page is also doesn't work.
I checked whether the error in Javascript and other think so but i couldn't catch it. I have been created the simple page with Jscript. Its work nice. But without session creation the page is working. It seems the error occurs in session in my php.
This source code working under php4 version fine. But in the php5 doesn't work.
I checked whether the error in Javascript and other think so but i couldn't catch it. I have been created the simple page with Jscript. Its work nice. But without session creation the page is working. It seems the error occurs in session in my php.
This source code working under php4 version fine. But in the php5 doesn't work.
Code:
if(isset($_POST['submit']))
{
session_start();
$_SESSION['id'] = 'AAAA';
echo "The Session Value is = $id <br></br>";
} else {
echo "<br> <br> Retrieve No Submitted";
}
?>
<form name = "form" method = "POST" action = "sess.php">
<input id="submit" name="submit" type="submit" value="Session" />
<br><br>
Comment