Re: [PHP] popen() in 4.3.2

2003-06-08 Thread Jeff Harris
Wow. 6 minutes for a response. Of course, I thought my error was in the popen(), not fread(), so I didn't even check there. I've just fixed the code, and it works! Thanks, Philip. On Jun 8, 2003, "Philip Olson" claimed that: | |PHP 4.3.0-1 has a bug that made your previous code "work", |have a l

Re: [PHP] popen() in 4.3.2

2003-06-07 Thread Philip Olson
PHP 4.3.0-1 has a bug that made your previous code "work", have a look at the fread() docs for why, here's a quote: "Note: When reading from network streams or pipes, such as those returned when reading remote files or from popen() and proc_open(), reading will stop after a packet i

[PHP] popen() in 4.3.2

2003-06-07 Thread Jeff Harris
My webhost just upgraded to php 4.3.2, and now I have a problem with popen. I'm opening an output buffer then piping it through htmltidy to make nice looking output. This code worked perfectly before the upgrade, now "strlen( $newstr )" is only getting back 4096 bytes. Is anybody else having th