Write a separate function that returns the "You shall not pass" line and then registers it as the error handler for the 403 error.
Tip: Use the register_error_handler method.
Write a separate function that returns the "You shall not pass" line and then registers it as the error handler for the 403 error.
Tip: Use the register_error_handler method.
Create a free account to access the full topic