lucavilla Posted October 9, 2007 Share Posted October 9, 2007 I have Windows Vista and PHP with Curl. I would save a web page on my harddisk with a PHP command-line command. What's the more minimalist way to do it? Quote Link to comment Share on other sites More sharing options...
Orio Posted October 9, 2007 Share Posted October 9, 2007 copy($url, "C:\file.ext"); You need to enable the allow_url_fopen directive in your php.ini Orio. Quote Link to comment 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.