Actually, you're right. They don't host on Windows. But, isn't the same GD library
used on both OS?
Afan
----- Original Message -----
From: Christoph Grottolo
To: Afan Pasalic
Sent: Wednesday, January 29, 2003 7:40 PM
Subject: Re: Fw: [PHP-WIN] GD library for jpeg?
Hi
[EMAIL PROTECTED] (Afan Pasalic) wrote in php.windows:
>That would be strange - Explorer 6.0.
Make sure you don't have any whitespace in your script before starting
with "<?php" (no blank line, no space, no tab).
>And hosting company is pair.com - pretty high ranked hosting co.
I think pair.com don't host on windows, do they? Are you on the right
group?
>What could be the easiest way to check that, to be sure?
Try with a working script, look at output of phpinfo();...
Christoph
>Afan
>
>
>
>----- Original Message -----
>From: Dash McElroy
>To: Afan Pasalic
>Sent: Wednesday, January 29, 2003 7:11 PM
>Subject: Re: [PHP-WIN] GD library for jpeg?
>
>
>It sounds as if your browser doesn't have support for PNG's, or you're
>sending a wrong header... What browser version are you using?
>
>Sounds like your hosting company doesn't have JPEG support built in. How
>sad.
>
>-Dash
>
>"He's just a politician trying to save both his faces ..."
>
>On Wed, 29 Jan 2003, Afan Pasalic wrote:
>
>> I tried an example from php.net site:
>>
>> <?php
>> header ("Content-type: image/png");
>> $im = @imagecreate (50, 100)
>> or die ("Cannot Initialize new GD image stream"); $background_color
>> = imagecolorallocate ($im, 255, 255, 255); $text_color =
>> imagecolorallocate ($im, 233, 14, 91); imagestring ($im, 1, 5, 5, "A
>> Simple Text String", $text_color); imagepng ($im); ?>I'm getting some
>> weird simbols/signs on screen (?PNG IHDR2d
t&nPLTE???�['�tL)But,
>> when I try to use jpeg format - getting Fatal Error. Does it mean that
>> my hosting company doesn't have instaled GD library that support
>> jpeg?Thanks for any help.Afan