the @ appearing in the article could be a problem. However if you do want to use explode all you would do is
<?
$lines=explode("@", $bibtexdata);
?>
so if you supplied
@Article{Higham:SIAM-NEWS-27-1-10,
author = "Nicholas J. Higham",
pages = "10, 11, 19",
month = "January"
}
@Book{Knuth:ct-a,
author = "Donald E. Knuth",
title = "The {\TeX}book",
}
then you would end up with an array like
$lines[0]='Article{Higham:SIAM-NEWS-27-1-10, author = "Nicholas J. Higham", pages = "10, 11, 19", month = "January"';
}
$lines[1]='Book{Knuth:ct-a, author = "Donald E. Knuth", title = "The {\TeX}book", }';
If the '@' is essential you can just addit back on later.
Mark.