Re: fdopen(1, ...) in lib goes where?
| From: | Uwe Steinmann | Date: | Fri, 28 May 1999 06:26:48 +0000 |
| Subject: | Re: fdopen(1, ...) in lib goes where? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-6115@lists.php.net to get a copy of this message | ||
>
> hmm, as an apache module everything you write to stdout goes "nowhere" you
> need to use:
>
> # define PUTS(s) php3_puts(s)
> # define PUTC(c) php3_putc(c)
> # define PHPWRITE(a,n) php3_write(a,n)
>
>
> those macros if you want to send something to the client!
>
>
> so, if you want cpdf_save_to_file($cpdf, "-"); to work, you will have to
> hack the cpdf-lib to make it use PHPWRITE.
Thanks for the quick answer. I think I have a solution for it.
Uwe
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net