> Your code works as you'd expect ... on my mod_php 4.2.2 & Apache
1.3.26
> setup. It's amazing though, because implode() is used incorrectly.
> See below:
[snip]
> Try switching the arguments around in the call to implode(), to:
> $lines = implode('',$recordsarray);
>
> http://www.php.net/manual
Hello Chris,
Don't know how I did that but it worked strange. Maybe the reason I am
getting the extra line is because I am testing the script on Windows
200 and not on a good Linux box.
Wednesday, March 5, 2003, 1:37:43 PM, you wrote:
CW> On Wed, 5 Mar 2003, Richard Kurth wrote:
>> This script
"Note: implode() can, for historical reasons, accept its parameters in
either order. For consistency with explode(), however, it may be less
confusing to use the documented order of arguments."
Chris Wesley wrote:
The above line:
I'm assuming you want to collapse $recordsarray into a sting, wi
On Wed, 5 Mar 2003, Richard Kurth wrote:
> This script will remove a line from a text list of email address and
> then re-write the list. The only problem I am having is when it
> re-writes the list it adds a extra line between each record. How can I
> stop this from happening
Your code works as
Hello Jason,
Wednesday, March 5, 2003, 12:38:39 PM, you wrote:
JW> On Thursday 06 March 2003 04:18, Richard Kurth wrote:
>> This script will remove a line from a text list of email address and
>> then re-write the list. The only problem I am having is when it
>> re-writes the list it adds a ext
On Thursday 06 March 2003 04:18, Richard Kurth wrote:
> This script will remove a line from a text list of email address and
> then re-write the list. The only problem I am having is when it
> re-writes the list it adds a extra line between each record. How can I
> stop this from happening
>
> $rec
This script will remove a line from a text list of email address and
then re-write the list. The only problem I am having is when it
re-writes the list it adds a extra line between each record. How can I
stop this from happening
$recordsarray = file($members);
$remove = "[EMAIL PROTECTED]";
$temp
7 matches
Mail list logo