PHP $_REQUEST doesn't contain all $_GET varaibles

Posted by pinky0x51 on Stack Overflow See other posts from Stack Overflow or by pinky0x51
Published on 2012-11-15T16:29:11Z Indexed on 2012/11/15 17:00 UTC
Read the original article Hit count: 101

Filed under:

Until today I thought that $_REQUEST always contains all variables form $_POST and $_GET.

But today I had the strange experience that one variable is part of $_GET but not part of $_REQUEST. I played a little bit around with the URL which hands over the parameters and it seems like always the fist parameter is missing in the $_REQUEST array.

Do you have any idea why this could happen?

Thanks!

URL:

localhost/?app=files&getfile=ajax/newfile.php?dir=%2Ftest4&source=http%3A%2F%2Fl??ocalhost%2Fimg%2Flogo.svg&filename=logo.svg&requesttoken=e250827c341650990cd4

© Stack Overflow or respective owner

Related posts about php