Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

You must log in to answer this question.

Browse other questions tagged .