I have tested this code in ubuntu terminal and it works. It basically saves a file located at a webpage (www.site.com) to localfile.html But how do I use this curl code in php s