whats with this error? can anybody explain this to me?
Code:Fatal error: Cannot redeclare checkaccess() (previously declared in D:\xampp\htdocs\Cmi-Act\pageChecker.php:2)
Printable View
whats with this error? can anybody explain this to me?
Code:Fatal error: Cannot redeclare checkaccess() (previously declared in D:\xampp\htdocs\Cmi-Act\pageChecker.php:2)
You're declaring a function that already exists in the script scope.
Most likely, the line indicated there includes a file which declares the function.
Often caused by using include or require rather than include_once or require_once.
solved the problem. i just put exit() to the line next to my includes.
The oil pressure warning light on your car dashboard comes on. What do you do?
Your solution is akin to opening the dashboard and unplugging the warning light.
Use include_once or require_once.