On Thursday, March 28, 2002, at 08:14 PM, bvr wrote:
> Try not to use MSIE when developing or install the debug thingie,
> otherwise you will not get sensible feedback on what went wrong during
> page load..
Good advice, I'll try with Mozilla.
> Anyway, it's probably not the memory limit, b
while we're on the topic, what's the best way to append an CSV line onto the
end of a text file?
---mail.csv---
Justin,French,[EMAIL PROTECTED]\n
Fred,Flintstone,[EMAIL PROTECTED]\n
Barny,Rubble,[EMAIL PROTECTED]\n
---
I'd like to append a new line::
$newline = "Hank,Foo,[EMAIL PROTECTED]\n";
>> not really ambiguous,
>
> (actually, that's what I was saying, that they are -less- ambiguous,
> and more specific, but no big deal on that little matter).
ok, misunderstood
>
> Every time I try to use one of these functions, I get an error message
> from my browser (not from PHP) that th
On Thursday, March 28, 2002, at 07:34 PM, bvr wrote:
> not really ambiguous,
(actually, that's what I was saying, that they are -less- ambiguous, and
more specific, but no big deal on that little matter).
> and I think these functions being flexible enough to handle other
> resource types c
you didn't mention file()
that one can be pratical because it returns an array of lines (linefeed
intact, implode with empty string),
but can be memory consuming for large files, because the entire file is
in memory
the at the same time.
some times you don't need the entire file (at a time) ..
, 2002 5:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP] best way to read a file
This is a really simple question that I've wondered for a while now...
what is the best way to read a file? There are so many different
functions for reading files that I have no idea which I should use.
rea
This is a really simple question that I've wondered for a while now...
what is the best way to read a file? There are so many different
functions for reading files that I have no idea which I should use.
readfile() returns its values to standard output -- I don't want to use
this, since my sc
7 matches
Mail list logo