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) ..
Actually if you have output buffering active then the easiest hassle
free way to read a file into a variable is like this..
Pretty cool eh? Hope that helps.
--
Kevin Stone
[EMAIL PROTECTED]
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2
6 matches
Mail list logo