Revision 491
Added by Matthias over 17 years ago
search_convert.php | ||
---|---|---|
1 | 1 |
<?php |
2 | 2 |
|
3 |
// $Id: search_convert.php 480 2007-06-11 16:35:58Z Ruebenwurzel $
|
|
3 |
// $Id: search_convert.php 490 2007-06-23 08:13:53Z Ruebenwurzel $
|
|
4 | 4 |
|
5 | 5 |
/* |
6 | 6 |
|
... | ... | |
35 | 35 |
|
36 | 36 |
//htmlspecialchars_decode |
37 | 37 |
$string_htmlspecialchars_decode=array( |
38 |
"<"=>"<", ">"=>">", "&"=>"&", """=>"\"", "'"=>"\'"
|
|
38 |
"<"=>"<", ">"=>">", "&"=>"&", """=>"\"", "'"=>"\'" |
|
39 | 39 |
); |
40 | 40 |
//htmlspecialchars_decode |
41 | 41 |
$string_htmlspecialchars_encode=array( |
42 |
"<"=>"<", ">"=>">", "&"=>"&", "\""=>""", "\'"=>"'"
|
|
42 |
"<"=>"<", ">"=>">", "&"=>"&", "\""=>""", "\'"=>"'" |
|
43 | 43 |
); |
44 | 44 |
|
45 | 45 |
//convert some bad characters |
Also available in: Unified diff
Added changeset [490] to the branches