exec('wget --progress=bar http://technabob.com/blog/wp-
content/uploads/2011/04/light_up_pi_symbol_1.jpg');
echo "1";
output 1
ie the download is not working.I m sure that the command is correct. I believe it has something to do with my Apache.Any help will be appreciated. The image is not getting downloaded.
I was wrong about Apache . I think it is about wget
because I can run other commands on my server using
$output = `ls -al`;
echo "<pre>$output</pre>";