Re: Antwort: Re: Antwort: Re: Display GD graphics with embperl

2002-07-17 Thread Jochen Topf
On Wed, Jul 17, 2002 at 04:19:53PM +0200, [EMAIL PROTECTED] wrote: > Doesn't work without binmode. I will get the source of the png image. What do you mean by "the source of the png image"? Do you mean that you get to see the bytes in the browser instead of the image? In that case the content-typ

Re: Antwort: Re: Antwort: Re: Display GD graphics with embperl

2002-07-17 Thread Pierre Etchemaite
Le Wed, 17 Jul 2002 16:19:53 +0200, [EMAIL PROTECTED] a écrit : > Doesn't work without binmode. I will get the source of the png image. > > Wolfgang i guess binmode must have some kind of "flush" side effect, when you remove it headers are not sent before the body, resulting in a mess... That

Antwort: Re: Antwort: Re: Display GD graphics with embperl

2002-07-17 Thread wolfgang--onsys . leideck
Doesn't work without binmode. I will get the source of the png image. Wolfgang Jochen Topf <[EMAIL PROTECTED]> am 17.07.2002 14:46:26 An:Wolfgang--ONSYS Leideck/BASF-AG/BASF@EUROPE Kopie: [EMAIL PROTECTED] Thema: Re: Antwort: Re: Display GD graphics with embperl Browser OS doesn't ma

Re: Antwort: Re: Display GD graphics with embperl

2002-07-17 Thread Jochen Topf
Browser OS doesn't matter, only the server. No idea why you get the error, but just get rid of the binmode and it should work. On Wed, Jul 17, 2002 at 02:34:49PM +0200, [EMAIL PROTECTED] wrote: > Uuh sorry i forgot, > apache is running on a unix machine (hpux) and the browser is running on a > wi

Antwort: Re: Display GD graphics with embperl

2002-07-17 Thread wolfgang--onsys . leideck
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-A

Re: Display GD graphics with embperl

2002-07-17 Thread Jochen Topf
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 STDO

Re: Problems with session

2002-07-17 Thread Michael Ott
Hallo! > > > > > > > I have done it. Here the output: > > > #0 0x4002e0c7 in pthread_mutex_lock () from /lib/i686/libpthread.so.0 > > > > Do you use mod_perl 2 with a Apache 2 with threads? > > No, using rh73 apache 1.3. with mod_perl It works. The problem was the mysql++-libraries. I working

Display GD graphics with embperl

2002-07-17 Thread wolfgang--onsys . leideck
Hello. 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; print STDOUT $req->{image}->plot(\@data)->png(); This is the erro