Connecting Tech Pros Worldwide Help | Site Map

What If Someone Uses My Delimiter In Their Comment?

  #1  
Old May 11th, 2006, 11:35 PM
Jacob Lyles
Guest
 
Posts: n/a
Hello All,

I'm making a comment form for my website that will store the comments
in
a flat file with some sort of delimiting character. However, I'm
wondering what will happen if someone uses my delimiter within their
comment. I thought one way to protect againt this would be to choose a
character like < and convert all < to &lt . Is there a function in PHP
that does this automatically?

Thanks,

Jacob

  #2  
Old May 12th, 2006, 12:45 AM
Rik
Guest
 
Posts: n/a

re: What If Someone Uses My Delimiter In Their Comment?


If you absolutely HAVE to post in several ng's: crosspost, don't mulitpost:
http://oakroadsystems.com/genl/unice.htm#xpost

I've answered you already in some other ng.
It would have appeared here if done correctly.

Grtz,
--
Rik Wasmus


  #3  
Old May 12th, 2006, 04:05 AM
Jacob Lyles
Guest
 
Posts: n/a

re: What If Someone Uses My Delimiter In Their Comment?


Sorry, I meant to post in comp.lang.php but accidentally posted in
alt.php first. I will try not to do so in the future.

Closed Thread