Please look at this code.
It is very simple and was working fine until this morning, but for some reason now its producing error: Warning: REG_EMPTY in ....
$darr = file('file.txt');
$num = count($darr);
for ($i=0; $i < $num; $i++) {
$c_row = trim($darr[$i]);
$line_arr = explode('|',$c_row);
if (eregi( $line_arr[0], $call)) {
....
any suggestions how to fix it?
Thanks
max.rk