samedi 7 novembre 2020

How to pass the if statement in codeigniter

I have question about codeigniter.

I have code like this (example) :

if (status == 1) {
redirect to page follow
} else {
you dont have permission to access follow page
}

How can I access the follow page without having status = 1 ? And if i can access follow page without having status = 1, then how to prevent ?

Aucun commentaire:

Enregistrer un commentaire