It is not exactly clear what you are doing.
Are you buffering up the HTML file with ob_start, and then flushing
the buffer after you run the buffer through htmldoc, that is, are
you processing everything before into html before you flush out the
If you are not buffering, then you probably have a side effect that
you are "blaming" on a red herring, namely, "more than ten records".
Though I cannot know with the information supplied, it seems that
you are not buffering, and ten records just happens to be the
amount when the Apache buffer "fills" and sends the first packet.
Then, what is left at the end of the built-up HTML, is a fragment
in any case of "illegal HTML" that htmldoc will break on...
Just what are you doing??
Luis Lebron wrote:
> I am currently having a problem with php and htmldoc. I have a php script
> that queries a myql database and creates a series of tables each with a 800
> x 600 product screenshot. The file is then sent to htmldoc to be converted
> into a pdf file. Here is my problem, if I request ten records (screenshots)
> or less everything works fine, however, if I request more than ten nothing
> happens (the php script creates the tables but the pdf file is not created).
> I have run htmldoc on the command line with the php created html file and it
> works without any problems regardless of the amount of tables(records). I
> have tried increasing the max script time and memory usage but it still
> doesn't work. Any ideas?
> Luis R. Lebron
> [EMAIL PROTECTED]
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
Eye Integrated Communications
321 South Evans - Suite 203
Greenville, NC 27858 | Tel: (252) 353-0722
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]