🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: czerwony x w przegladarce dot. php

#147
From: Fragles
Date: Sun, 19 Aug 2001 11:10
50 lines
2098 bytes
Eureka !!!!!!!!!!!!!!
Skrypcik mi zadziałał.
Dziekuje wszystkim za pomoc.
Ach bym zapomnial osobna grupa dla lang.php to swietny pomysł
Pozdrawiak Fragles

"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: <9lo6ql$1gg$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.trzebnica.net!news.tpi.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.trzebnica.net!news.tpi.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: Sun, 19 Aug 2001 13:10:50 +0200
Organization: Netia Telekom S.A.
Lines: 52
Message-ID: <9lo6ql$1gg$1@news.internetia.pl>
References: <9llp2j$7cc$1@news.internetia.pl>
NNTP-Posting-Host: 213.17.161.5
X-Trace: news.internetia.pl 998219413 1552 213.17.161.5 (19 Aug 2001 11:10:13 GMT)
X-Complaints-To: abuse@inetia.pl
NNTP-Posting-Date: 19 Aug 2001 11:10:13 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