How about
$last_line = system('dir c:\\', $retval);
or maybe
$last_line = system('dir c:\', $retval);
Tomasz Ignatiuk wrote:
> for
> $last_line = system('php.exe -v', $retval);
> $last_line = system('dir c:\\php5', $retval);
> $last_line = system('dir c:\\php\\php5', $retval);
> there is
>
> ------------------------------------------------------------------------
> Last line of the output:
> ------------------------------------------------------------------------
> Return value: 127
> ------------------------------------------------------------------------
> Last line of the output:
> ------------------------------------------------------------------------
> Return value: 1
> ------------------------------------------------------------------------
> Last line of the output:
> ------------------------------------------------------------------------
> Return value: 1
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---