On Sunday 01 August 2004 08:07, C.F. Scheidecker Antunes wrote:
> In order to get the filenames from the output below I have tried the
> following:
>
> preg_match_all('/inflating:"(.*?)"/', $stdout, $matches);
> print_r($matches);
> return $matches[1];
>
> But I only get empty arrays with it.
Try
On Sat, 31 Jul 2004 18:07:07 -0600, C.F. Scheidecker Antunes
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> In order to get the filenames from the output below I have tried the
> following:
>
> preg_match_all('/inflating:"(.*?)"/', $stdout, $matches);
Why do you have " around the (.*?)? The sample text
Hello,
In order to get the filenames from the output below I have tried the
following:
preg_match_all('/inflating:"(.*?)"/', $stdout, $matches);
print_r($matches);
return $matches[1];
But I only get empty arrays with it.
I need to fix that so I can have the filenames stored on arrays and also
ev
3 matches
Mail list logo