Forum Moderators: coopster
for($i; $i<count($matches[1]); $i++)
{
`/usr/bin/fetch $matches[1][$i]`;
}
fetch: Array[0]: No such file or directory
fetch: Array[1]: No such file or directory
In this case, there are two files in the array, so I would need the script to fetch the files in $matches[1][0] and $matches[1][1].
Any ideas?
Thanks.
print '<pre>'; print_r($matches); print '</pre>'; exit;
for($i; $i<count($matches[1]); $i++)
{
`/usr/bin/fetch $matches[1][$i]`;
}