flyersman Posted June 28, 2008 Share Posted June 28, 2008 Hi, im trying to download a zip file. And this code will not download it. The URL works fine in my browser. Any idea? Thanks $file= "http://www.vcmleads.com/?module=download_campaign_report&start_date=20080623&stop_date=20080625&zoom_mode="; $newfilename="curl/test.zip"; get_file1($file, $local_path, $newfilename); Quote Link to comment https://forums.phpfreaks.com/topic/112360-whats-wrong-with-my-php-curl-download-code/ Share on other sites More sharing options...
.josh Posted June 28, 2008 Share Posted June 28, 2008 well you could start out by showing what's inside your get_filel function... Quote Link to comment https://forums.phpfreaks.com/topic/112360-whats-wrong-with-my-php-curl-download-code/#findComment-576904 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.