Re: [PHP] Formatting

2011-01-25 Thread joris ros
Hi You can try something like this: > Ethan Rosenberg wrote: > >> Dear list - >> >> I have a program with the following statement: $out = system('ls -l', >> $retval); The output is a string. How do I format the output to be in >> the Linux format, that is in columns. I cannot think of a way to u

[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().''; } Script works fine from local PC, but results to error when executed at web hoster site. The error is: "Error: Unable to cr