to Kroc fellow, « l’homme de l’Art ».
to Kroc fellow, « l’homme de l’Art ».
Bonjour! Always good to hear from readers around the world.
Word up.
This post was deleted by its owner
Just testing what, I wonder? :| If you're trying to break the parser I've been careful to make it safe, but if you've found a flaw, I'd appreciate to know where I slipped up.
Hmm, Kroc, I went to take a look at your formatText function to see if there was some kind of vulnerability. It looks like you're eval'ing the result of the regex. Although, from what I can see, it doesn't look like anyone could maliciously inject code, but maybe you should use preg_replace_callback instead?
with /e mode, the strings are automatically escaped by PHP. It’s scary looking but it is no less secure than using a calling function--which I would actually do if my server was on PHP5.3 :| Damn slow upgrades.
Ah, I didn't know that.
Yeah, I know what you mean: I'm eager to start using *real* anonymous functions in PHP.
Your friendly neighbourhood moderators: Kroc, Impressed, theraje, Martijn