You are here: Is using "unused" characters as temporary markers safe? « All PHP « IT news, forums, messages
Is using "unused" characters as temporary markers safe?

Posted by Curtis on 12/07/05 01:26

We're processing text from a webpage text area--which the
user may type or paste in--our code being a text filter
something like BBCode.

While processing the text, there are segments which are
exploded, imploded, and either processed or skipped,
depending. In our PHP code, we're using "\01" and "\02" as
markers for the segments, etc.

Is it safe to use these characters, or is there any danger
the same characters will somehow show up unbidden in the
user input text and mess up our text segmenting and
reassembly?


--
Curtis

Visit We the Thinking
www.wethethinking.com
An online magazine/forum
devoted to ideas.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация