#28865 [Opn]: Functions ftp_*list

2004-06-24 Thread 336764 at 163 dot com
 ID:   28865
 User updated by:  336764 at 163 dot com
 Reported By:  336764 at 163 dot com
 Status:   Open
 Bug Type: FTP related
 Operating System: MandRake 10
 PHP Version:  5.0.0RC3
 Assigned To:  pollita
 New Comment:

vi /root/.bashrc

Add TMPDIR=/tmp 

save  exit;

Restart httpd

run php:
var_dump(tmpfile());

get:
resource(2) of type (stream)


Previous Comments:


[2004-06-23 03:37:39] 336764 at 163 dot com

PHP5 Environment variable:
TMPDIR is /root/tmp  

How to change it ?



[2004-06-23 03:21:59] 336764 at 163 dot com

bool(false)



[2004-06-21 17:59:11] [EMAIL PROTECTED]

What does the ouput of this show?

var_dump(tmpfile());



[2004-06-21 09:39:35] 336764 at 163 dot com

Description:

Warning: ftp_nlist() [function.ftp-nlist]: Unable to create temporary
file. Check permissions in temporary files directory. in
/web/browse.inc.php on line 181


Warning: ftp_rawlist() [function.ftp-nlist]: Unable to create temporary
file. Check permissions in temporary files directory. in
/web/browse.inc.php on line 181



/tmp is chmod 777 and other temporary directory is 777 too.

Reproduce code:
---
$rawlist = ftp_rawlist($conn_id, -a);
$rawlist = ftp_rawlist($conn_id, );

$rawlist = ftp_nlist($conn_id, -a);
$rawlist = ftp_nlist($conn_id, );

Expected result:

Warning: ftp_nlist() [function.ftp-nlist]: Unable to create temporary
file. Check permissions in temporary files directory.
/web/browse.inc.php on line 181



Actual result:
--
list all files to array.





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


#28865 [Opn]: Functions ftp_*list

2004-06-24 Thread 336764 at 163 dot com
 ID:   28865
 User updated by:  336764 at 163 dot com
 Reported By:  336764 at 163 dot com
 Status:   Open
 Bug Type: FTP related
 Operating System: MandRake 10
 PHP Version:  5.0.0RC3
 Assigned To:  pollita
 New Comment:

PHP5 Environment variable:
TMPDIR is /root/tmp  

How to change it ?


Previous Comments:


[2004-06-23 03:21:59] 336764 at 163 dot com

bool(false)



[2004-06-21 17:59:11] [EMAIL PROTECTED]

What does the ouput of this show?

var_dump(tmpfile());



[2004-06-21 09:39:35] 336764 at 163 dot com

Description:

Warning: ftp_nlist() [function.ftp-nlist]: Unable to create temporary
file. Check permissions in temporary files directory. in
/web/browse.inc.php on line 181


Warning: ftp_rawlist() [function.ftp-nlist]: Unable to create temporary
file. Check permissions in temporary files directory. in
/web/browse.inc.php on line 181



/tmp is chmod 777 and other temporary directory is 777 too.

Reproduce code:
---
$rawlist = ftp_rawlist($conn_id, -a);
$rawlist = ftp_rawlist($conn_id, );

$rawlist = ftp_nlist($conn_id, -a);
$rawlist = ftp_nlist($conn_id, );

Expected result:

Warning: ftp_nlist() [function.ftp-nlist]: Unable to create temporary
file. Check permissions in temporary files directory.
/web/browse.inc.php on line 181



Actual result:
--
list all files to array.





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


#28865 [Fbk-Opn]: Functions ftp_*list

2004-06-24 Thread 336764 at 163 dot com
 ID:   28865
 User updated by:  336764 at 163 dot com
 Reported By:  336764 at 163 dot com
-Status:   Feedback
+Status:   Open
 Bug Type: FTP related
 Operating System: MandRake 10
 PHP Version:  5.0.0RC3
 Assigned To:  pollita
 New Comment:

bool(false)


Previous Comments:


[2004-06-21 17:59:11] [EMAIL PROTECTED]

What does the ouput of this show?

var_dump(tmpfile());



[2004-06-21 09:39:35] 336764 at 163 dot com

Description:

Warning: ftp_nlist() [function.ftp-nlist]: Unable to create temporary
file. Check permissions in temporary files directory. in
/web/browse.inc.php on line 181


Warning: ftp_rawlist() [function.ftp-nlist]: Unable to create temporary
file. Check permissions in temporary files directory. in
/web/browse.inc.php on line 181



/tmp is chmod 777 and other temporary directory is 777 too.

Reproduce code:
---
$rawlist = ftp_rawlist($conn_id, -a);
$rawlist = ftp_rawlist($conn_id, );

$rawlist = ftp_nlist($conn_id, -a);
$rawlist = ftp_nlist($conn_id, );

Expected result:

Warning: ftp_nlist() [function.ftp-nlist]: Unable to create temporary
file. Check permissions in temporary files directory.
/web/browse.inc.php on line 181



Actual result:
--
list all files to array.





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


#28865 [NEW]: Functions ftp_*list

2004-06-21 Thread 336764 at 163 dot com
From: 336764 at 163 dot com
Operating system: MandRake 10
PHP version:  5.0.0RC3
PHP Bug Type: FTP related
Bug description:  Functions ftp_*list 

Description:

Warning: ftp_nlist() [function.ftp-nlist]: Unable to create temporary
file. Check permissions in temporary files directory. in
/web/browse.inc.php on line 181


Warning: ftp_rawlist() [function.ftp-nlist]: Unable to create temporary
file. Check permissions in temporary files directory. in
/web/browse.inc.php on line 181



/tmp is chmod 777 and other temporary directory is 777 too.

Reproduce code:
---
$rawlist = ftp_rawlist($conn_id, -a);
$rawlist = ftp_rawlist($conn_id, );

$rawlist = ftp_nlist($conn_id, -a);
$rawlist = ftp_nlist($conn_id, );

Expected result:

Warning: ftp_nlist() [function.ftp-nlist]: Unable to create temporary
file. Check permissions in temporary files directory. /web/browse.inc.php
on line 181



Actual result:
--
list all files to array.

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


#26430 [NEW]: class public{} failed.

2003-11-26 Thread 336764 at 163 dot com
From: 336764 at 163 dot com
Operating system: MandRake
PHP version:  5.0.0b2 (beta2)
PHP Bug Type: Class/Object related
Bug description:  class public{} failed.

Description:

class public
{

}


the said syntax  error...


Reproduce code:
---
class public
{

}


the said syntax  error...



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


#22388 [Com]: resizing png images results not working

2003-11-26 Thread 336764 at 163 dot com
 ID:   22388
 Comment by:   336764 at 163 dot com
 Reported By:  don at seiler dot us
 Status:   No Feedback
 Bug Type: GD related
 Operating System: gentoo linux 2.4.20
 PHP Version:  4.3.0
 New Comment:

Me too!


Previous Comments:


[2003-03-09 19:08:56] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to Open. Thank you.





[2003-02-23 21:19:58] [EMAIL PROTECTED]

As a rule you probably should not use imagecreate() when dealing with
potentially truecolor images like pngs. Instead use
imagecreatetruecolor().

P.S. please keep the report status as feedback until you've had the
chance to try the latest CVS.



[2003-02-23 20:58:56] don at seiler dot us

OK I'll have to make a gentoo ebuild to try that out.

Just an FYI, using imagecreatetruecolor() instead of imagecreate()
fixed this problem.  It seems that php's built-in gd is a little more
strict with png color information.

Gentoo's mod_php ebuild uses the built-in gd for 4.3.x.



[2003-02-23 20:07:00] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

I've tried your test script with latest CVS and it works fine.
If the problem persists please indicate which GD are you using
(built-in or native) as well as what version of libpng your php/gd are
linked against?



[2003-02-23 19:10:21] don at seiler dot us

Just noting that it does resize jpeg images just fine.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22388

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


#22388 [Com]: resizing png images results not working

2003-11-26 Thread 336764 at 163 dot com
 ID:   22388
 Comment by:   336764 at 163 dot com
 Reported By:  don at seiler dot us
 Status:   No Feedback
 Bug Type: GD related
 Operating System: gentoo linux 2.4.20
 PHP Version:  4.3.0
 New Comment:

JPEG is worrking, it can resize  display.
but png is working not . :( output is only once color pic.


Previous Comments:


[2003-11-27 01:11:13] 336764 at 163 dot com

Me too!



[2003-03-09 19:08:56] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to Open. Thank you.





[2003-02-23 21:19:58] [EMAIL PROTECTED]

As a rule you probably should not use imagecreate() when dealing with
potentially truecolor images like pngs. Instead use
imagecreatetruecolor().

P.S. please keep the report status as feedback until you've had the
chance to try the latest CVS.



[2003-02-23 20:58:56] don at seiler dot us

OK I'll have to make a gentoo ebuild to try that out.

Just an FYI, using imagecreatetruecolor() instead of imagecreate()
fixed this problem.  It seems that php's built-in gd is a little more
strict with png color information.

Gentoo's mod_php ebuild uses the built-in gd for 4.3.x.



[2003-02-23 20:07:00] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

I've tried your test script with latest CVS and it works fine.
If the problem persists please indicate which GD are you using
(built-in or native) as well as what version of libpng your php/gd are
linked against?



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22388

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


#22388 [Com]: resizing png images results not working

2003-11-26 Thread 336764 at 163 dot com
 ID:   22388
 Comment by:   336764 at 163 dot com
 Reported By:  don at seiler dot us
 Status:   No Feedback
 Bug Type: GD related
 Operating System: gentoo linux 2.4.20
 PHP Version:  4.3.0
 New Comment:

at php5.0.0b2 is working


Previous Comments:


[2003-11-27 01:12:12] 336764 at 163 dot com

JPEG is worrking, it can resize  display.
but png is working not . :( output is only once color pic.



[2003-11-27 01:11:13] 336764 at 163 dot com

Me too!



[2003-03-09 19:08:56] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to Open. Thank you.





[2003-02-23 21:19:58] [EMAIL PROTECTED]

As a rule you probably should not use imagecreate() when dealing with
potentially truecolor images like pngs. Instead use
imagecreatetruecolor().

P.S. please keep the report status as feedback until you've had the
chance to try the latest CVS.



[2003-02-23 20:58:56] don at seiler dot us

OK I'll have to make a gentoo ebuild to try that out.

Just an FYI, using imagecreatetruecolor() instead of imagecreate()
fixed this problem.  It seems that php's built-in gd is a little more
strict with png color information.

Gentoo's mod_php ebuild uses the built-in gd for 4.3.x.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22388

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