I'm on the verge of writing a php script that will download files from several websites to my server using PHP.
Since this is my own server therefore I enabled shell exec for PHP installation, (windows server 2003 platorm, I installed several GNU tools for windows as well) . I attached the code below.
when I executed that script via the browser, I received
TESTING EXEC FUNCTION
and I don't see any downloaded file in the folder (I assume the file will be downloaded to the same folder with the script)
Can you please give me any insight?
THanks so much
echo "TESTING EXEC FUNCTION<br>";
exec ('wget http://domain.com/shapefile_shp_zip', $command_output);