[PHP] Mystery Binary Characters in My Files

2002-04-06 Thread Jeff Levy
or "How I Learned To Stop Breathing and Oxygenate By Osmosis"... Hello, I'm having a problem, hopefully the experts in this group can help me around it. I read in the contents of an old mysql database, and made XML files out of the data contained in it. The total job came out to about 6800 file

Re: [PHP] Mystery Binary Characters in My Files

2002-04-06 Thread Jeff Levy
I already do an htmlentities/specialchars on input data, but some of these characters are still creeping in... is there any way, on fread(), to strip out these boolsh*t chars? On Sat, 06 Apr 2002 10:04:11 -0500, heinisch wrote: > At 06.04.2002 08:36, you wrote: > >>I read in the contents of a

Re: [PHP] IMPORTANT question for anyone using XSLT

2002-04-12 Thread Jeff Levy
Have you considered using sablotron's Excellent Named Buffer support? I do this all the time. ie: $addl_buffers['MySecondBuffer'] = "Blah" $addl_buffers['MyThirdArbitraryBuffer'] = ... etc etc etc... then, in stylesheet, for instance: etc, etc. On Mon, 01 Apr 2002 11:08:12 -0500, Erik P

[PHP] array_walk() + class methods

2001-12-19 Thread Jeff Levy
I'd like to call a class method with array_walk(). Is this possible? class widget { function sicballs($arg){ print $arg; } } $x = new widget(); $ar = array('my','values'); array_walk($ar, ???) ... the only way I've been able to get this (simplified) code to work the way I want it is

Re: [PHP] array_walk() + class methods

2001-12-22 Thread Jeff Levy
Much obliged, that did the trick. On Fri, 21 Dec 2001 05:48:31 -0500, Papp Gyozo wrote: > array_walk($ar, array(&$object, 'methodname')); > > - Original Message - > From: "Jeff Levy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> > Sent