🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #144

Re: czerwony x w przegladarce dot. php

#144
From: Fragles
Date: Sat, 18 Aug 2001 15:57
63 lines
2383 bytes
mam wersje php 4.0.6 sciagnieta z php.net
po wpisaniu phpinfo();
pojawia mi sie tabelka dotyczada gd i właczonych funkcji

gd suport enabled
gd version 2.0 or higher
ftree type Support enabled
free type linkage with freetype
jpg suport enabled
png support enabled
wbmp support enabled
tak sie to przedstawia
po wczytaniu extension_loaded("gd");
nic mi sie nie pokazuje czysta przegladarka

w takim razie czekam na opinie

Pozdrawiam, Konrad

"Fragles" <konradkl@packplast.com.pl> wrote in message
news:9llp2j$7cc$1@news.internetia.pl...
> Uruchamiam plik html:
> <html>
> <head>
> <title></title>
> </head>
> <body>
> <p><img src="ini.php?x=30"> <br>
> <img src="ini.php?x=30"> <br>
> <img src="ini.php?x=30"> </p>
> </body>
> </html>
>
> plik php wyglada tak :
> <?php
>
> $x =floor($x);
> if ($x >= 0 && $x <= 100)
> {
>   header ("Content-type: image/png");
>   $im = @ImageCreate ($x, 10)
>       or die ("Cannot Initialize new GD image stream");
>   $background_color = ImageColorAllocate ($im, 0, 0, 0);
>   for ($a=0; $a < $x; $a++)
>   {
>     $color = ImageColorAllocate ($im, $a*2, 0, $a*2);
>     ImageLine($im, $a,0,$a,10,$color);
>   }
>   ImagePng ($im);
> }
>
> ?>
>
> Co spostrzegawczy znaja go z php.pl
> w przegladarce dostaje czerwone trzy x
> Co to może być.
>
> Pozdrawiam, Konrad
>
>
>
>
>
Technical Details
Message-ID: <9lm37f$m4e$1@news.internetia.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!pcmedia.com.pl!news.man.szczecin.pl!news.task.gda.pl!news.ipartners.pl!news.internetia.pl!not-for-mail
References: <9llp2j$7cc$1@news.internetia.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!pcmedia.com.pl!news.man.szczecin.pl!news.task.gda.pl!news.ipartners.pl!news.internetia.pl!not-for-mail
From: "Fragles" <konradkl@packplast.com.pl>
Newsgroups: pl.comp.lang.php
Subject: Re: czerwony x w przegladarce dot. php
Date: Sat, 18 Aug 2001 17:57:03 +0200
Organization: Netia Telekom S.A.
Lines: 65
Message-ID: <9lm37f$m4e$1@news.internetia.pl>
References: <9llp2j$7cc$1@news.internetia.pl>
NNTP-Posting-Host: 213.17.161.5
X-Trace: news.internetia.pl 998150191 22670 213.17.161.5 (18 Aug 2001 15:56:31 GMT)
X-Complaints-To: abuse@inetia.pl
NNTP-Posting-Date: 18 Aug 2001 15:56:31 GMT
X-Tech-Contact: usenet@internetia.pl
X-Server-Info: http://www.internetia.pl/news/
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit