Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.