Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old May 11th, 2006, 11:35 PM
Jacob Lyles
Guest
 
Posts: n/a
Default What If Someone Uses My Delimiter In Their Comment?

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
Default 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
Default 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.

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,338 network members.