$string = preg_replace("/[\\\*\+\-;]/s","",$string);
I think, you might have to escape the ; too
Zef
"elias" <[EMAIL PROTECTED]> schreef in berichtnieuws
9dr733$knl$[EMAIL PROTECTED]
> Hello,
>
> Maybe RegExps are still my point of weakness...but I still like them as
much
> as I like the Self-
for afaik the only way is to
fgets($fp, 4096);
Now you moved the pointer 1 line :-)
Zef
"Steve Wade" <[EMAIL PROTECTED]> schreef in berichtnieuws
[EMAIL PROTECTED]
> Any easy way to make the file pointer go up one line in a text file?
>
> (I am thinking of using ftell(), then working out the leng
I'd say the first one, but if you'd use $myvar as a constant only, try this:
define("MYVAR",3);
Might be even more efficient ;-)
btw. You can call this value like this:
echo MYVAR;
Zef
"Noah Spitzer-Williams" <[EMAIL PROTECTED]> schreef in berichtnieuws
9dpjiu$5nu$[EMAIL PROTECTED]
> Which of th
I did some benchmark on how fast variable access is when being used through
OOP. And this difference can be up to 1,7 times as slow.
I surely hope you can speed up, right now I'm not using it because it's
slower...
Zef
Phil Driscoll <[EMAIL PROTECTED]> schreef in berichtnieuws
[EMAIL PROTECTE
4 matches
Mail list logo