Answer the question
In order to leave comments, you need to log in
Why doesn't the script see $_REQUEST?
I use this mod_rewrite in .htaccess: RewriteRule upload/([a-z]+)$ api.php?format=$1
Next, in the file I catch two variables $_REQUEST['data'] and $_REQUEST['format'], when accessing /upload/txt?data=1, in var_dump($_REQUEST) it is clear that variable $_REQUEST['data'] is not defined.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question