What happens if you just include the file (does it get included?) and echo the $rank variable. Both not in a if. Post results here.Path is correct & that still doesn't work
this doesn't seem to echo the included file any help? heres the code
PHP:<?PHP if($rank<5){ echo "<!-- LOL -->"; } else include("/furni/assets/showtools.php"); ?>
<?php
# Mockup data
$user_id = 3;
if($user_id <= 4) // dont wanna exclude 4.
{
header('Location: http://nicetry.com');
exit;
} else {
require( dirname(__FILE__) . '//furni/assets/showtools.php');
}
?>