M
M
Max Payne2015-04-01 17:03:32
PHP
Max Payne, 2015-04-01 17:03:32

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

2 answer(s)
F
FanatPHP, 2015-04-01
@YardalGedal

QSA

S
ShamblerR, 2015-04-01
@ShamblerR

I will answer for the millionth time . I even have a link
for you
g.zeos.in/?q=%D1%80%D0%B5%D0%B4%D0%B8%D1%80%D0%B5%...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question