Ok I re-wrote some of my code to ensure security and now I have another little problem...
PHP Code:
if ($expandset=$post[field7]) {
echo "";
} else {
echo "<script language=\"javascript\">
<!--
location.replace(\"http://www.stardust-one.net/forums/mod/\");
//-->
</script>";
}
Now, the problem is that it isn't reading $post[field7]...so I know I screwed up somewhere (hey, it's my first hack!). Any help with this little bit of code would be great.
$post[field7] is a custom profile field that will equal the expandset number