Oh yeah so any help on why im getting this error would be appreciated lol,
heres my code: moviesite.php:
<?php
session_start();
//check to see if user has logged in with a valid password
if ($_SESSION['authuser']=1) {
echo "Sorry, but you dont have permission to view this page";
exit();
}
?>
<HTML>
<HEAD>
<TITLE>MY Movie Site <?php echo $_REQUEST['favmovie'] ?></title>
</head>
<body>
<?php
echo "Welcome to our site, ";
echo $_SESSION['username'];
echo "! <BR>";
echo "My favorite movie is: ";
echo $_REQUEST['favmovie'];
echo "<br>";
$movierate = 5;
echo "My movie rating for this movie is:";
echo $movierate
?>
</body>
</html>
and
movie1.php:
<?php
session_start();
$_SESSION['username']="Joe12345";
$_SESSION['authuser']=1;
?>
<?php
$moviesite=urlencode("Life Of Brain");
echo "<a href='/moviesite.php?favmovie=$moviesite'>";
echo "Click here to see information about my fav movie";
echo "</a>";
?>
So if its not this is it my php.ini?
THanks
|