Quote:
Originally Posted by MarcoH64
Change to:
PHP Code:
<?php
chdir("/home/linguami/public_html/forum");
include("./global.php");
....
|
Thanks. I've now done that and I'm getting a blank HTML page. I added the world
Hello to it like this:
PHP Code:
<?php
chdir("/home/linguami/public_html/forum");
include("./global.php");
$admin = $_COOKIE['usergroupid'];
?>
<html>
<head>
<title>Example</title>
</head>
<body>
<?php
echo "Hello $admin";
?>
</body>
</html>
But the variable $admin isn't getting anything. I know there should be a cookie as I'm logged into my forum at the moment.