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
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 =
* 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
3 matches
Mail list logo