Skip to content

Disallowing user to view page

I’m trying to make my PHP page disallow viewing of the page unless your on a certain IP as viewed below. I’m not sure what to try as I haven’t really been doing PHP for very long. Answer The IP checking bit does not seem to contain mistakes, except that if you only check it with REMOTE_ADDR,…

Variable and function types in PHP 7.4 (laravel) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed last year. Improve this question Yesterday I was at an interview and after looking at my code I was told th…

How to find and import default CSS tags from PHP file

I have a report generation page, that is PHP based, but I can’t use basic CSS classes in it for some reasons. For example, the i-column-header class doesn’t do anything. I am Using PhpStorm and if I go into a CSS file, I see that it has the classes, and it says “from html”. I am not su…