From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0CVS-2002-05-27
PHP Bug Type:     *Graphics related
Bug description:  to View image

hi, All

This is small test for image.

<?php
$im = ImageCreate(200,200);
imagefill($im,1,1,1) ;
$bg = ImageColorAllocate($im,1,1,1);
$tx = ImageColorAllocate($im,25,28,28);
ImageFilledRectangle($im,0,0,180,180,$bg);
ImageString($im,3,70,90,"it works !",1);
if (function_exists("imagegif")) {
    header ("Content-type: image/gif");
    $a  = imagegif ($im);
}
elseif (function_exists("imagejpeg")) {
    header ("Content-type: image/jpeg");
    $a  = imagejpeg ($im, "", 0.5);
}
elseif (function_exists("imagepng")) {
    header ("Content-type: image/png");
    $a  = imagepng ($im);
}
elseif (function_exists("imagewbmp")) {
    header ("Content-type: image/vnd.wap.wbmp");
    $a  = imagewbmp ($im);
}
else
    die("No image support in this PHP server");

imagedestroy($im) ;

?>



This is my script : When I calling this script my Browser give me that
error :


//////

The page cannot be displayed 
The page you are looking for is currently unavailable. The Web site might
be experiencing technical difficulties, or you may need to adjust your
browser settings. 

--------------------------------------------------------------------------------

Please try the following:

Click the  Refresh button, or try again later.

If you typed the page address in the Address bar, make sure that it is
spelled correctly.

To check your connection settings, click the Tools menu, and then click
Internet Options. On the Connections tab, click Settings. The settings
should match those provided by your local area network (LAN) administrator
or Internet service provider (ISP). 
If your Network Administrator has enabled it, Microsoft Windows can
examine your network and automatically discover network connection
settings.
If you would like Windows to try and discover them, 
click  Detect Network Settings 
Some sites require 128-bit connection security. Click the Help menu and
then click About Internet Explorer to determine what strength security you
have installed. 
If you are trying to reach a secure site, make sure your Security settings
can support it. Click the Tools menu, and then click Internet Options. On
the Advanced tab, scroll to the Security section and check settings for
SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0. 
Click the  Back button to try another link. 



Cannot find server or DNS Error
Internet Explorer  



My PHP version is php3.0.11
GD is 1.3

But when I tried another script , it has no problem ??

Please help me

-- 
Edit bug report at http://bugs.php.net/?id=17455&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17455&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17455&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17455&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17455&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17455&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17455&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17455&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17455&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17455&r=globals

Reply via email to