Answer the question
In order to leave comments, you need to log in
Why does deleting .php remove request data?
Making a request to example.com/script?data=123
$_REQUEST is missing any data
My .htaccess
RewriteEngine On
RewriteCond %{THE_REQUEST} " (/[^?/]+)\.php"
RewriteRule ^ %1 [R=301,L]
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^([^/]+)$ /$1.php$2 [L]
Answer the question
In order to leave comments, you need to log in
scored on $_REQUEST began to read through $_SERVER["REQUEST_URI"]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question