What is the best (fastest) way to open a URL and get the file to a variable? I hope you understand what I mean.
Can you provide some more information regarding what you're attempting?
-Rich
There's this address like http://www.domain.com/page.html I want to download that file/URL and get the contents of that file into a variable. I know one way to do it but what is the fastest??
You may want to read the PHP manual regarding using remote files. It includes information on how to read remote files as well as how to store data in a remote file via ftp. http://www.phpbuilder.com/manual/features.remote-files.php
I have not actually done this myself, but it seems very straight-forward.
Hope this helps.