Camen Design Forum

Hello from Philippe in Normandy

append delete Sventovit

to Kroc fellow, « l’homme de l’Art ».


Reply RSS

Replies

append delete #1. Kroc

Bonjour! Always good to hear from readers around the world.

append delete #2. SpeedoJoe

Word up.

#3. JustATestAccount

This post was deleted by its owner

append delete #4. Kroc

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.

append delete #5. JJ

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?

append delete #6. Kroc

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.

append delete #7. JJ

Ah, I didn't know that.

Yeah, I know what you mean: I'm eager to start using *real* anonymous functions in PHP.

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, theraje, Martijn