Re: Can a PHP script process a file on a remote computer?
| From: | Andrew Ballard | Date: | Wed, 24 Oct 2007 20:15:07 +0000 |
| Subject: | Re: Can a PHP script process a file on a remote computer? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263608@lists.php.net to get a copy of this message | ||
How big is the file? fgetcsv() will read any file that you can get a
handle to using fopen() or fsockopen(), including remote files.
However, if allow_url_fopen is not enabled, you can't use fopen().
Also if the file is so large that your script is timing out while
waiting for it to be uploaded, it could also timeout just trying to
read the file remotely as well.
Andrew