Bug #64563 [Opn->Nab]: when i try viewing a directory list only "array" returns and that's it.
| From: | reeze@php.net | Date: | Tue, 02 Apr 2013 11:16:53 +0000 |
| Subject: | Bug #64563 [Opn->Nab]: when i try viewing a directory list only "array" returns and that's it. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-178231@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64563&edit=1
ID: 64563
Updated by: reeze@php.net
Reported by: flownoun59 at gmail dot com
Summary: when i try viewing a directory list only "array"
returns and that's it.
-Status: Open
+Status: Not a bug
Type: Bug
Package: Directory function related
Operating System: windows
PHP Version: 5.4.13
Block user comment: N
Private report: N
New Comment:
you are trying to echo an array, output
array is expected.
see: http://php.net/ftp_nlist
mark as not bug for now.
Previous Comments:
------------------------------------------------------------------------
[2013-04-02 10:38:29] flownoun59 at gmail dot com
Description:
------------
<?php
$conn = ftp_connect("ftp.smartsociety.tk") or die("Could not connect");
ftp_login($conn,"u137184334","drowssap");
echo ftp_nlist($conn,"pic");
ftp_close($conn);
?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64563&edit=1