#21309 [NEW]: ftp_connect error reporting of trivial errors trough perror()
| From: | tit dot petric at telemach dot net | Date: | Tue, 31 Dec 2002 10:50:07 +0000 |
| Subject: | #21309 [NEW]: ftp_connect error reporting of trivial errors trough perror() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-28838@lists.php.net to get a copy of this message | ||
From: tit.petric@telemach.net
Operating system: linux
PHP version: 4.3.0
PHP Bug Type: FTP related
Bug description: ftp_connect error reporting of trivial errors trough perror()
ftp_connect() returns stream or false on error
this is not the case for error messages like "connect: Connection timed
out" which go trough perror() calls inside the extension
theese should be actively removed or replaced with E_WARNING or E_NOTICE
errors which can be actively ignored/handled by script.
--
Edit bug report at http://bugs.php.net/?id=21309&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21309&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21309&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21309&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21309&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21309&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21309&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21309&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21309&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21309&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21309&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21309&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21309&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21309&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21309&r=gnused