Say i am using this in a class, i would not want to have to have a seperate function outside the class!
I have tried:
<?php
MagicParser_parse($filename,array($this, 'recordhandler'),$format);
?>
PHP Fatal error: Function name must be a string in /sites/_shared/MagicParser.php on line 2
Fatal error: Function name must be a string in /sites/_shared/MagicParser.php on line 2
Do you know of anyway i can do this?
Im going to procede to hack the script until i get this to work, just letting you know of the issue at hand also :)