When I type wget http://xxx.xxx.xxx.xxx/file.csv
at the shell prompt it downloads the file smoothly. However when I enter the command
exec ("wget http://xxx.xxx.xxx.xxx/filename.csv")
into a download.php file and execute it in the browser it doesnot download the file. When I move this download.php file to a another php-linux server it works fine. What is my server missing?? Is php not configured to accept wget?? If so, how can i overcome the problem.
Any steps and suggestions will be appreciated. My php version is 4.2.2. This is inspite of installing 5.1, phpinfo() still shows the installed version as 4.2.2
Pls, anybody out there....???