Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
March 1, 2005, 9:25 pm
rate this thread
Re: Loading all the data of a page into a variable.
Please clarify your question. Are you trying to generate a file
or retrieve one? In case you are retrieving, the problem is
solved very easily:
$data = file_get_contents('test.csv');
If you have allow_url_fopen enabled, this approach can be used
on remote files as well.