[PHP] Re: foreach array into mail isn“t working

2002-01-21 Thread Ken Gregg
Blank lines are important to the parsing of mail messages. File does not strip newlines. Try your code and strip the newlines off the email addresses. If you still have problems try it and drop the newlines from the subject. Ken Gregg Enhanced Data Systems, Inc. http://www.rwre.com for the

[PHP] open php as stream

2002-01-21 Thread Ken Gregg
while (fgets(buf, 4096, fh) > 0) { print( buf ); print( "" ); } pclose( fh ) } Any ideas as to how to work around this? Thanks in advance Ken Gregg Enhanced Data Systems, Inc. http://www.rwre.com for the best in Southwest Oregon Real Estate -- PHP General Mailing Lis

[PHP] Re: counting with dates (help!)

2002-01-21 Thread Ken Gregg
",$strdate); $temp = strtotime($strdate); $n = $ndays * 24 * 60 * 60; $n2 = $temp + $n; return( date("Y-m-d", $n2 )); # return(date("m/d/Y", $n2 )); } Ken Gregg Enhanced Data Systems, Inc. http://www.rwre.com for the best in Southwest Oregon Real Estate Sander P

[PHP] Re: apache not handling 404 errors for .php pages

2001-07-14 Thread Ken Gregg
I get this too. I think it is because I'm running cgi php. Think it is a 500 error. Easiest fix would to also create a custom 500 error handler. Ken Gregg Enhanced Data Systems, Inc. http://www.rwre.com for the best in Southwest Oregon Real Estate Scott wrote: > I have custom 4