Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm attempting to send post data through wget using the --post-data parameter, and I'm sure it's right, but it's simply not working.

I'm using --post-data like this:

wget --post-data "type=test" http://localhost/test.php

With my test.php script, I dump the $_REQUEST var, and it's empty. What am I doing wrong?

share|improve this question
can you show me 'variables_order' from phpinfo()? –  neo Jan 4 '13 at 16:02
variables_order: GPCS –  David Harris Jan 4 '13 at 16:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.