Debugging!

Stu'pid qu"toes

January 6th, 2009, 7:07 pm
Tags: mysql php

GrrrUMBLE. I think I've finally sorted out the issues with user input fields containing single- and double-quotes. Ya see, PHP uses those to denote the start/end of strings, and HTML forms use them to delimit all sorts of stuff, so if someone (re: you, gentle reader) comments with a name like, oh, I dunno, 'fi"sh', then everything goes kerfluey if my code doesn't handle it properly.

Thankfully PHP has boatloads of built in functionality to deal with this; I just had to make it work with my editing stuff.



Leave a Comment

Your name :

Comments:


Please answer the following question to prove that you are a human
What is 3 + 9?



2009 www.orangellous.com

All images, content, and the software used to create this blog are the property of orangellous.com. If you have questions, would like to comment on the site, or are interested in the code used to produce it, please feel free to contact me