Brian Dunning wrote:
Howdy all - We have a production server that runs our script fine. We're
setting up a test server, and this particular script returns a length of
zero:
$ctx = stream_context_create(array('http' = array('timeout' = 1200)));
// 20 minutes per file
$contents =
Shawn McKenzie wrote:
Brian Dunning wrote:
Howdy all - We have a production server that runs our script fine. We're
setting up a test server, and this particular script returns a length of
zero:
$ctx = stream_context_create(array('http' = array('timeout' = 1200)));
// 20 minutes per file
it's difficult to read.
why?
don't top post.
oh and please post to the list.
[EMAIL PROTECTED] wrote:
1. I dont know, if this is an feature request
well you're the only one who might.
given that your own comment in the example below states while loop reading
the data! (This works!) I
Steven Macintyre wrote:
Hiya,
I need to be able to read a file into a string - I have used the above
command and it works ... now ... I need to read a file into a string - that
requires a username and password to access the authentication is normal HTTP
basic realm
Any ideas?
$var =
On Tue, February 6, 2007 7:53 am, Colin Guthrie wrote:
Steven Macintyre wrote:
Hiya,
I need to be able to read a file into a string - I have used the
above
command and it works ... now ... I need to read a file into a string
- that
requires a username and password to access the
Jeff McKeon wrote:
Does anyone know if it's possible to have file_get_contents() accept a
file handle?
file_get_contents() does the file handle operations internally, so it
only expects the name of the file. If you want to use file handles
yourself, then you should just fopen(), fread(), and
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Giovanni Lenzi) wrote:
file_get_contents function is supposed to return the contents of a file in a
binary safe manner. I tried it on two different servers which has different
versions of APACHE+PHP but it still not works.
The server give me
7 matches
Mail list logo