Admin Page To Authorise New Users

I wondered if it was maybe being called via Ajax and therefore not actually redirecting, but I was sure the OP would have mentioned something like that. Never thought of output buffering as I’ve never tried it.

How does status 1 or 0 tell me when a user applied? Or if they were concidered to be accepted? And if they were not accepted, what the reason for rejection was?

Just saying I think there is a lot more to be captured here than may/may not log in.

Those are your suggestions/questions. The OP never asked for that or said he was doing that. The following is what he said.

OP basicially answered his own question. He just wasn’t sure if it was the best way. Sure there could be more but we don’t know a whole lot about the project but you did provide some good considerations. :+1:

To really properly advise the OP I would want to know all about the project, business rules, stakeholders, etc, etc. I can only go by the limited information provided. There are a whole lot of unknowns.

Thanks all for your advice. I haven’t come across the ini file yet? And not sure what output buffering is?

@benanamen, I will PM you more details later today to hopefully build a better picture of what I’m trying to do.

Output buffering is a way to control when your output (echo etc.) is actually sent to the browser. See here: https://www.php.net/manual/en/book.outcontrol.php

Awesome thank you :slight_smile:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.