ID:               27883
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lord_ali at nextra dot ro
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: apache 2.0.48
 PHP Version:      4.3.5
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

.


Previous Comments:
------------------------------------------------------------------------

[2004-04-06 05:30:15] lord_ali at nextra dot ro

Description:
------------
I wanted to read all the files from a directory and split them in
diferent variables.



./configure' '--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-mysql=/usr/local/mysql' '--with-pgsql=/usr/local/pgsql/' 

Reproduce code:
---------------
<?php

$ali = `ls`;

$oficial = explode(" ", $ali);

echo "oficial[0]<br>";

echo "oficial[1]<br>";

echo "oficial[2]<br>";

echo "oficial[3]";

?>



Expected result:
----------------
I would expect to see the files in the directory listed one below the
other. 

Actual result:
--------------
I am seeing all the files in one line.... not in diferent lines. Only
$oficial[0] is listed, the rest of variables are empty


------------------------------------------------------------------------


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

Reply via email to