Here's the full code -
Code:
// ADD CONTENT TO INDEX.PHP
$read = "<SCRIPT LANGUAGE\=\"JavaScript\">
window.location\=\"http://www.thatcommunity.com/member.php?u=$bbuserinfo[userid]\"\;
</script>";
Code:
$content_add = "<html>
<head>
<?php
echo $read;
?>
</head>
<body>
<a href=\"http://www.thatcommunity.com/member.php?u=$userid\">if you're not redirected click here and consider a new browser.</a>
</body>
</html>";
Is there any other way to redirect in the header without this javascript that would STILL be able to read $bbuserinfo[userid]?