Jump to content

Page only if Rank=....


Dracolas

Recommended Posts

How would I go about Making it where only certain ranks can see a Recruit page. i have the console done and the Recruit page done and I think i should go like

If ($crank = 0)
Than(include recruit.php)

But then couldn't anyone who knows about recruit.php view it and recruit people?... how could I do this?

Link to comment
https://forums.phpfreaks.com/topic/187745-page-only-if-rank/
Share on other sites

Ok i'm using the If else stuff to get it done but i'm having issues... i have

if ($crank <= 4)

then then recruit stuff...the account that i'm using is rank 6 and is still able to access the page...why is this?

I know that i have all but that line right because if i change it to crank = 0 and try with the 6 it uses the else... so what's going on?

Link to comment
https://forums.phpfreaks.com/topic/187745-page-only-if-rank/#findComment-993676
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.