Issue with wget, php, and shell_exec

currently, I have this blurb of code in a php script

$str = shell_exec(‘wget’);
no matter what I do, $str is always an empty string ("")

I’ve also tried exec() with the second argument specified with an array, but that returns an empty array too

is there anything that I can do to capture the output of wget in php, without resorting to making wget log to a file?

Whats wrong with using cURL?

:cool: [color=#6600CC]Atropos[/color] |


Save [color=#CC0000]$50[/color] on DreamHost plans using [color=#CC0000]PRICESLASH[/color] promo code (Click for DreamHost promo code details)