#49507 [NEW]: ftplogin() returns null
From: dro at mediaan dot nl
Operating system: FreeBSD 5.4
PHP version: 5.2.10
PHP Bug Type: FTP related
Bug description: ftplogin() returns null
Description:
------------
After upgrading our PHP version from 4.4.9 to 5.2.10 we are experiencing
problems with FTP.
The example below used to return true for variable $login_result under PHP
version 4.4.9. After migration to PHP version 5.2.10 the example below
returns null for variable $login_result.
Reproduce code:
---------------
$conn_id = @ftp_ssl_connect($ftp_server);
$login_result = @ftp_login($conn_id, $ftp_username, $ftp_password);
Expected result:
----------------
true
Actual result:
--------------
null
--
Edit bug report at http://bugs.php.net/?id=49507&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49507&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49507&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49507&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49507&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49507&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49507&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49507&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49507&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49507&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49507&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49507&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49507&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49507&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49507&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49507&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49507&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49507&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49507&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49507&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49507&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49507&r=mysqlcfg
Thread (7 messages)
- dro at mediaan dot nl