Uuh sorry i forgot,
apache is running on a unix machine (hpux) and the browser is running on a
windows
host.
With earlier versions of embperl (1.x), modperl (1.x) and apache (1.x) it
works.

Wolfgang




Jochen Topf <[EMAIL PROTECTED]> am 17.07.2002 14:20:04

An:    Wolfgang--ONSYS Leideck/BASF-AG/BASF@EUROPE
Kopie: [EMAIL PROTECTED]
Thema: Re: Display GD graphics with embperl



On Wed, Jul 17, 2002 at 01:44:32PM +0200,
[EMAIL PROTECTED] wrote:
> I will visualize some data with the gd::graph module. How can i display
the
> graphics
> on the fly with embperl.
> The statement below doesn't work because of missing binmode
> $rec_req->content_type('image/png');
> binmode STDOUT;

You don't need binmode() on Unix systems. And you probably want to output
to OUT not STDOUT in Emperl.

> print STDOUT $req->{image}->plot(\@data)->png();
>
> This is the error message:
> [22445]ERR: 24: Error in Perl code: Can't locate object method "BINMODE"
> via package "Apache::RequestRec" (perhaps you forgot to load
> "Apache::RequestRec"?) a

Jochen
--
Jochen Topf  [EMAIL PROTECTED]  http://www.remote.org/jochen/
+49-721-388298

------------------------------------------------------------------------
Wolfgang Leideck
ONSYS GmbH
Fon: +49 (0)621/60-44104
Fax: +49 (0)621/60-73744
E-Mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to