[PHP] Implode slows down file reading? [was: str_replace performance in large mailing script]

2003-08-27 Thread frederik feys
Hi all, I thought str_replace caused slow down of my mailing script, but it seems to be this line of code: $fd = implode(,file(http://www.domain.org/store/min/Mailing_template.html;) ); I first put the mailing template in $fd (only once) and then replace (str_replace) elements of it to

[PHP] str_replace performance in large mailing script

2003-08-24 Thread frederik feys
Hi all, I have a mailing script that sends individualised mails to users(some users even get more than one mail). I have a template html mail file. I individualise this by using str_replace function. It is really slow. Can anyone point me to some performance tips? I was thinking

RE: [PHP] Cannot add header information - headers already sent

2003-08-14 Thread frederik feys
thoughts? Thanks Fré -Original Message- From: ermelir [mailto:[EMAIL PROTECTED] Sent: dinsdag 12 augustus 2003 11:03 To: frederik feys Subject: Re: [PHP] Cannot add header information - headers already sent Hi, the problem is your empty first line: HTML header will be send if you call

[PHP] Cannot add header information - headers already sent

2003-08-14 Thread frederik feys
Hi all, I’m stuck with this one: I have an checkout procedure: when people come to the overview page(step 2), they get: Warning: Cannot add header information - headers already sent by (output started at /usr/local/www/vhosts/aurelis.org/htdocs/header_aurelis.php:95) in

RE: [PHP] Cannot add header information - headers already sent

2003-08-14 Thread frederik feys
the header already sent. Any help appreciated! Fré -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: dinsdag 12 augustus 2003 12:15 To: frederik feys Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Cannot add header information - headers already sent output started

RE: [PHP] headers already sent and cookie problem

2003-07-18 Thread frederik feys
To: 'frederik feys '; '[EMAIL PROTECTED] ' Subject: RE: [PHP] headers already sent and cookie problem -Original Message- From: frederik feys To: 'Ford, Mike [LSS]'; [EMAIL PROTECTED] Here's the URL: http://www.aurelis.org/store/cart.txt and the get_cartID: http://www.aurelis.org

RE: [PHP] headers already sent and cookie problem

2003-07-17 Thread frederik feys
To: 'frederik feys'; [EMAIL PROTECTED] Subject: RE: [PHP] headers already sent and cookie problem -Original Message- From: frederik feys [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 10:21 One nasty thing to debug is that the error only shows up from time to time. So now everything seems

RE: [PHP] headers already sent and cookie problem

2003-07-16 Thread frederik feys
for that. But I still don't have the clue. Maybe you like to see my code? Any help welcome! Fred -Original Message- From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED] Sent: dinsdag 15 juli 2003 11:36 To: 'frederik feys'; [EMAIL PROTECTED] Subject: RE: [PHP] headers already sent and cookie

[PHP] headers already sent-cookie-ob_flush()

2003-07-15 Thread frederik feys
Hi all, This is what i get: Warning: Cannot add header information - headers already sent by (output started at /home/u/r/html/store/cart.php:188) in /home/u/r/html/store/includes/functions/get_cartID.php on line 14 I know that the problem is the reading of the cookie and then after

[PHP] headers already sent and cookie problem

2003-07-15 Thread frederik feys
Hi all, This is what i get: Warning: Cannot add header information - headers already sent by (output started at /home/u/r/html/store/cart.php:188) in /home/u/r/html/store/includes/functions/get_cartID.php on line 14 I know that the problem is the reading of the cookie and then after