Web Hosting Reviews for Affiliate Marketers

Unlimited Shared hosting & Unlimited Disk Space from $5.95 - Dreamhost
Solid Managed VPS with 4 IP's from $60 - Liquid Web
Lightning Fast Dedicated Servers & 1GB RAM from $149 - Liquid Web
#1 Domain Registration with WHOIS Privacy - Just $9.95

The Dreamhost web hosting thread below was started by on 2010-06-30 18:35:58:

I want to write a php program to grab a report that changes each day so I could save a copy in a DH directory for a permanent record. The url is :http://www.usbr.gov/pn/hydromet/yakima/yakstats.txt. I started writing a little php program to give the url to curl, then explode it on newline characters to an array, then write the array to a file and save to a directory with the file name derived from the current system date. But then I thought, hey it’s already just a text file. Do I need to get this complicated? Is there a way to just copy the text file from the original location to my directory? A shell script even?

Join in on the original post at the Dreamhost Forum, Get a Dreamhost Plan or view our Review of Dreamhost.

Related Web Host Reviews


Close
E-mail It