I am receiving a 403 Forbidden error each time I save/update either a PHP or Universal snippet. The offending code is any $_GET or $_POST statement, including when commented out using //. If the code is totally removed, the snippet saves correctly. I have tried clearing browser cache and some other 403 tricks with no resolution.
Has anyone else experienced this, or am I violating some PHP best practice with my code (shown below)?
Thank you,
Howard Bacharach
PHP Code causing the 403 error:
$new_contribution = $_GET['contribution'];
$company = $_GET['company'];
-- or even if commented out --
//$new_contribution = $_GET['contribution'];
//$company = $_GET['company'];
403
Forbidden
Access to this resource on the server is denied!
Has anyone else experienced this, or am I violating some PHP best practice with my code (shown below)?
Thank you,
Howard Bacharach
PHP Code causing the 403 error:
$new_contribution = $_GET['contribution'];
$company = $_GET['company'];
-- or even if commented out --
//$new_contribution = $_GET['contribution'];
//$company = $_GET['company'];
403
Forbidden
Access to this resource on the server is denied!