File command

From: Date: Thu, 22 Feb 2001 19:55:09 +0000
Subject: File command
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-41204@lists.php.net to get a copy of this message
I'm using the file command, which reads an entire file and sticks it into an array. I'm trying to read a file from mp3.com, and what I get back is basically that the connection is refused. Doesn't it just load it up like any browser would load it? Is there an equivalent command that wouldn't try to make a connection, but would just request the file like any browser would and then load it that way? I've also tried the fopen command, and I get the same results.

« previous php.general (#41204) next »