Page 1 of 1

Single page protect php method

Posted: Sat Feb 12, 2022 6:39 am
by wwonderfull
testing single page protect by php protection method with a MYSQL CRUD extension in a WAMP server localhost.
this comes on the top
Image

Re: Single page protect php method

Posted: Sat Feb 12, 2022 7:31 am
by Pablo
The extension cannot detect that session_start is already on the page. So, it may be added twice.
But I think you should be able to disable this warning in the php.ini configuration

Re: Single page protect php method

Posted: Sat Feb 12, 2022 8:06 am
by wwonderfull
how to solve it using the php.ini configuration anything I need to copy paste or change the values to, or Is there any solution to this other than this?

Re: Single page protect php method

Posted: Sat Feb 12, 2022 8:16 am
by Pablo
I think you will need to reduce the warning level.
https://www.php.net/manual/en/errorfunc ... ration.php