"); if (trim(substr($auth_user,2,15))==$REMOTE_USER and substr_count($pagepath.$pagename,trim(substr($auth_user,20)))<>0){ $rechte=substr($auth_user,0,1); } $auth_user = fgets($page_id); } fclose($page_id); } } if ($rechte >=3){ echo ('User '.$REMOTE_USER.' not defined error no. 2'); exit; } ?>