Implement at key stages in form submission process.
html interpretation: htmlspecialchars() function encodes special characters in data, as a security measure
URL : encode data with urldecode() to decodes URL-encoded string
Implement at key stages in form submission process.
html interpretation: htmlspecialchars() function encodes special characters in data, as a security measure
URL : encode data with urldecode() to decodes URL-encoded string
Implement at key stages in form submission process.
HTML interpretation: htmlspecialchars() function encodes special characters in data, as a security measure
URL : encode data with urlencode() to interpret as one item
Source Encoding
• Conducted at time of parsing
• Cannot be changed during parser lifetime
• Types
Target Encoding
• Conducted at time of php passing data to xml handlers
• Target encoding initially set to same as source encoding
• Can be changed at any time
Characters not capable of source encoding cause an error
Characters not capable of target encoding are demoted (to “?”)