Re: [PHP] I can't make 'read_tag.php' file

2003-10-13 Thread Bas
This works!!! I am a newbie to PHP and i8 knop really nothing about Regular Expressions!!! Thanks!!! Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * Thus wrote Bas ([EMAIL PROTECTED]): --- And with this, it needs the file 'test.tag' --- bttag=bassie I am

[PHP] I can't make 'read_tag.php' file

2003-10-12 Thread Bas
I have found that this script doesn't work: read_tag.php --- ?php function readTag($filename, $tagtype, $debug = 0) { $filedata = file_get_contents($filename); $tagrealname = bttag=; $tagrealname .= $tagtype; $tagrealname .= ; $tagdata = stristr($filedata, $tagrealname); $posofend =

Re: [PHP] I can't make 'read_tag.php' file

2003-10-12 Thread Curt Zirzow
* Thus wrote Bas ([EMAIL PROTECTED]): --- And with this, it needs the file 'test.tag' --- bttag=bassie I am myself!! /bttag [...] The error is that if i load this, the readTag function returns everything except for the Closing!!! Do you mean that all the other tags return the proper