A while back I asked for some help on the options for the new
Sanitize. I got some great help from Joachim stating that these were
the options.
00190 'connection' => 'default',
00191 'odd_spaces' => true,
00192 'encode' => true,
00193 'dollar' => true,
00194 'carriage' => true,
00195 'unicode' => true,
00196 'escape' => true,
00197 'backslash' => true
So I am creating a small "News/Events" section for a client and I do
this:
uses('sanitize');
$cleaner = new Sanitize();
$clean -> clean($this->data,array('connection' =>
'default','odd_spaces' => true,'encode' => true,'escape' =>
true,'backslash' => true));
I send a string of: didn't, doesn't, don't <br />
and the data fails to be "sanitized". The data is not "escaped" or
"encoded". Am I doing something wrong?
Thanks guys.
Daniel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---