Hi everyone

I'm trying to read from a popen ($file, r) and fgets in PHP.

The output is like this in perl:

print join ("\t", $_, $b->{one}, $b->{two}, $b->{three}, $b->{four}), "\n";

I've also added another column to the beginning of it, so the output would
be:

name    one    two    three    four
name    etc    ect    etc    etc

I used popen to open this file and then use fgets to read it. The fgets can
only read the 'name' part but cannot read the rest? Does anyone one know why
this is happening?

Appreciate your help

Chhai Thach




-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to