Nope it didn't help.
I'm beginning to wonder if it's not installed corectly....
But I have had no problem running PHP scripts on my Apache webserver.
And here is another problem I have....
It's with sessions!
I have 3 pages. test1.php, test2.php and test3.php.
Here is the code for Page 1:
<?php
session_start();
echo '<!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>
<title>Side 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>';
$_SESSION['_username'] = "Steven Stieng";
echo $_SESSION['_username'].'<br>';
echo '<a href="test2.php"> Test2 </a>';
echo '</body>
</html>';
?>
Page 2 and 3 have almost the same:
<?php
session_start();
echo '<!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>
<title>Side 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>';
echo $_SESSION['_username'].'<br>';
echo '<a href="test2.php"> Test2 </a>';
echo '</body>
</html>';
?>
Output page 1: Steven Stieng
Output page 2 & 3: nothing!!!!!
The session ID is identical for page 1 and 2
What can be wrong???
Must be in my configuration someplace!