IPB

ISO Image Creator

Welcome Guest ( Log In | Register )

> Safe strings, any more?..
Mackins
post Dec 25 2005, 09:27 PM
Post #1


Themer
Group Icon

Group: Members
Posts: 120
Joined: 17-March 05
From: England
Member No.: 29,841
 United Kingdom


Yo, I just realised that I hadn't made a function that makes strings properly query and tag safe ermm.gif and so I got to work. I was wondering if there were anymore unsafe characters that I needed to convert. Here is my array of characters to convert so far:
CODE
array(    "!"    =>    "!",
         "$"    =>    "$",
         '"'    =>    """,
         "'"    =>    "'",
         "<"    =>    "&lt;",
         ">"    =>    "&gt;",
         "&"    =>    "&amp;",
         "|"    =>    "|"
     );
.

Please tell me if there are anymore that I need to add! smile.gif

btw. IPB seems to be converting the characters, so just look at the array keys please biggrin.gif

-Mackins cool.gif

This post has been edited by Mackins: Dec 25 2005, 09:30 PM
Go to the top of the page
 
+Quote Post



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 23rd May 2012 - 11:50 AM

  Page top

Webber Enhanced skin created by Im4eversmart of RuneHQ.

  Privacy Policy 1 2 3 4 5

IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here