Skip to content
Advertisement

Tag: middleware

HOW CAN I HIDE A FORM BASED ON USER ROLE OR PRIVILEGE PHP [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question Please how can I hide a form or input field based on the user role or privilege using PHP. is it possible to do that

file_get_contents not working with bearer

I keep getting this error Warning: file_get_contents failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized Code The middleware i am using with my api accepts the authorization via url parameter or header; If I use the token in the parameter, it works but not being able to send it via header on the server, cause on localhost its

Advertisement