Article View: pl.comp.lang.php
Article #133czerwony x w przegladarce dot. php
From: Fragles
Date: Sat, 18 Aug 2001 13:03
Date: Sat, 18 Aug 2001 13:03
37 lines
1682 bytes
1682 bytes
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:
<9llp2j$7cc$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.tpi.pl!news.internetia.pl!not-for-mailShow 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.tpi.pl!news.internetia.pl!not-for-mail From: "Fragles" <konradkl@packplast.com.pl> Newsgroups: pl.comp.lang.php Subject: czerwony x w przegladarce dot. php Date: Sat, 18 Aug 2001 15:03:47 +0200 Organization: Netia Telekom S.A. Lines: 42 Message-ID: <9llp2j$7cc$1@news.internetia.pl> NNTP-Posting-Host: 213.17.161.5 X-Trace: news.internetia.pl 998139795 7564 213.17.161.5 (18 Aug 2001 13:03:15 GMT) X-Complaints-To: abuse@inetia.pl NNTP-Posting-Date: 18 Aug 2001 13:03:15 GMT X-Tech-Contact: usenet@internetia.pl X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-Server-Info: http://www.internetia.pl/news/ X-MSMail-Priority: Normal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit