Re: [PHP] Formatting

2011-01-25 Thread joris ros
Hi You can try something like this: ?php ob_start(); system('ls', $retval); $raw = ob_get_contents(); ob_end_clean(); $arr = explode(chr(10),$raw); print_r($arr); it gives you a array back whit the lines 2011/1/26 Donovan Brooke li...@euca.us Ethan Rosenberg wrote: Dear list - I have

[PHP] Unable to create selectable TCP socket

2008-03-14 Thread ros
Hi! I have a simple PHP script: $mbox = imap_open ({localhost:993/imap/ssl}INBOX, [EMAIL PROTECTED], 123); if(!$mbox) { echo 'Error: '.imap_last_error().'br/'; } Script works fine from local PC, but results to error when executed at web hoster site. The error is: Error: Unable to