This just says:
Parse error: parse error, unexpected T_STRING, expecting ')' in
C:\pub\read-tags.php on line 12
Manuel VáZquez Acosta [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try this:
function readTag($filenane, $tagtype, $degub = false)
// I prefer boolean for debug :)
{
Try this:
function readTag($filenane, $tagtype, $degub = false)
// I prefer boolean for debug :)
{
$filedata = file_get_contents($filename);
$tagtype = preg_quote($tagtype);
$tagRegExp = /battag=$tagtype\s*((?:.|\s)*?)/battag\s*/;
preg_replace_callback($tagRegExp, 'replaceFunc',
2 matches
Mail list logo