I have the following rule in .htaccess
RewriteRule ^acesso-erro/(.*) proc_error.php?error=$1 [L]
This rule retrieves the variables from the URL and places a variable "error".
How can I retrieve this variable from the proc_error.php page?
I have the following rule in .htaccess
RewriteRule ^acesso-erro/(.*) proc_error.php?error=$1 [L]
This rule retrieves the variables from the URL and places a variable "error".
How can I retrieve this variable from the proc_error.php page?
You can receive in the same way that you retrieve in POST or GET mode. Ex. $ Error = $ _GET ['error'];