On Wed, May 09, 2001 at 06:13:17PM -0700, Dexter wrote:
> Does the array parameter of ereg actually return strings matched? I
> tried to read a file looking for a string using ereg and wanted to put
> the matched strings found in an array. Doesn't seem to be happening
> with the following.
>
>
Does the array parameter of ereg actually return strings matched? I tried to read a
file looking for a string using
ereg and wanted to put the matched strings found in an array. Doesn't seem to
be happening with the following.
$contents=fread($readfile,10);
$pattern="";
$i
2 matches
Mail list logo