Admun's NUDN

admun

  • Ottawa, Ontario, Canada

Navigation

Navigation

Categories

htmlspecialchars & htmlspecialchars_decode

To properly handle inputs, i.e. all those ", `, and '. Be sure to use htmlspecialchars to convert them before writing to the table. Then use htmlspecialchars_decode to decode it before display. This also work with UTF-8, but not some of the encoding. So, special handling is need to detected them and handle.

How simple an idea... and how come I never pay attention? sad

14:30:49 on 04/14/07 by Admun - Category: Developer Notes - tags: - print

Comments

No comments yet

Add Comments



Emoticons
biggrin ! ? cool confused idea lol oops cry twisted arrow eek
evil frown mad wink neutral razz rolleyes surprised
<=   August 2008   =>
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930
31      

My Quick Links

Documentation

How-To & Tips

Source Code

Developers utc

Latest Comments

  • Vikky Cabrera says Thank you for making my life a non-techie-pretending-to-be-one a lot more easy and...
  • Admun says It's now fixed... sorry for the problem.
  • Vikky Cabrera says Unfortunately the download link does not work and just comes up with the following...
  • CMN says Sure.. Thanks Admun
  • Admun says Some code change is needed, but I do not have time right now unfortunately. I...
  • CMN says Hello Admun, is there a quick way to work around it ? The blog content on my web...
  • Admun says You are correct.
  • CMN says Does the AutoExtended subscribe to Edit item ? It seems like the <%morelink%>...

Most Downloads