#36464 [Bgs]: imagepng empty second param shows error

2006-02-21 Thread mdhp at gmx dot de
 ID:   36464
 User updated by:  mdhp at gmx dot de
 Reported By:  mdhp at gmx dot de
 Status:   Bogus
 Bug Type: GD related
 Operating System: debian 3.1
 PHP Version:  5.1.2
 New Comment:

Yes thats right, so i wrote "... snip..." code for sending header is
done and works fine for gifs and jpgs.

But the second parameter for imagepng must set in 5.1.2.
In old versions an empty parameter could be transmitted.

Normaly you can put an empty parameter or no parameter, the result is
the same, but not in 5.1.2.


Previous Comments:


[2006-02-20 17:16:47] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

You'll need to send correct header



[2006-02-20 16:27:10] mdhp at gmx dot de

Description:

Empty second param for imagepng shows trashcode but not the png.

Not a real bug, but Versions before 5.1.2 are ok.
Function imagegif with second empty param works.

Reproduce code:
---
// ... snip ... imagecreate code from png file...
// At version < 5.1.2 png will shown on browser

$output_filename = '';
imagepng($src, $output_filename);

// on 5.1.2 you have to check if output_filename empty
// imagegif works fine with two params







-- 
Edit this bug report at http://bugs.php.net/?id=36464&edit=1


#36464 [NEW]: imagepng empty second param shows error

2006-02-20 Thread mdhp at gmx dot de
From: mdhp at gmx dot de
Operating system: debian 3.1
PHP version:  5.1.2
PHP Bug Type: GD related
Bug description:  imagepng empty second param shows error

Description:

Empty second param for imagepng shows trashcode but not the png.

Not a real bug, but Versions before 5.1.2 are ok.
Function imagegif with second empty param works.

Reproduce code:
---
// ... snip ... imagecreate code from png file...
// At version < 5.1.2 png will shown on browser

$output_filename = '';
imagepng($src, $output_filename);

// on 5.1.2 you have to check if output_filename empty
// imagegif works fine with two params



-- 
Edit bug report at http://bugs.php.net/?id=36464&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36464&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36464&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36464&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36464&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=36464&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=36464&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=36464&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=36464&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=36464&r=support
Expected behavior:http://bugs.php.net/fix.php?id=36464&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=36464&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=36464&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36464&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36464&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36464&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=36464&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=36464&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36464&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=36464&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=36464&r=mysqlcfg


#28830 [Opn->Bgs]: Notice reporting E_ALL for not initialized vars

2004-06-18 Thread mdhp at gmx dot de
 ID:   28830
 User updated by:  mdhp at gmx dot de
 Reported By:  mdhp at gmx dot de
-Status:   Open
+Status:   Bogus
 Bug Type: *General Issues
 Operating System: linux
 PHP Version:  5.0.0RC3
 New Comment:

My mistake... please forget my error report :-(

In html page the notice will be displayed in form tag


Previous Comments:


[2004-06-18 16:10:13] mdhp at gmx dot de

Description:

When you set error_reporting to E_ALL only, not initalized vars
displayed with a notice on screen.

But when a var is in quote of html no error will be displayed, is that
an error???

Reproduce code:
---




Expected result:

3 Notices
In line 7, 10 and 12


Actual result:
--
2 Notices
In line 7 and 12





-- 
Edit this bug report at http://bugs.php.net/?id=28830&edit=1


#28830 [NEW]: Notice reporting E_ALL for not initialized vars

2004-06-18 Thread mdhp at gmx dot de
From: mdhp at gmx dot de
Operating system: linux
PHP version:  5.0.0RC3
PHP Bug Type: *General Issues
Bug description:  Notice reporting E_ALL for not initialized vars

Description:

When you set error_reporting to E_ALL only, not initalized vars displayed
with a notice on screen.

But when a var is in quote of html no error will be displayed, is that an
error???

Reproduce code:
---




Expected result:

3 Notices
In line 7, 10 and 12


Actual result:
--
2 Notices
In line 7 and 12

-- 
Edit bug report at http://bugs.php.net/?id=28830&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28830&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28830&r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=28830&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=28830&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28830&r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=28830&r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=28830&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=28830&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=28830&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=28830&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=28830&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=28830&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28830&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=28830&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=28830&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=28830&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28830&r=float