Project

General

Profile

« Previous | Next » 

Revision 491

Added by Matthias almost 17 years ago

Added changeset [490] to the branches

View differences:

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
	"&lt;"=>"<", "&gt;"=>">", "&amp;"=>"&", "&quot;"=>"\"", "&#039;"=>"\'"
38
	"&lt;"=>"<", "&gt;"=>">", "&amp;"=>"&", "&quot;"=>"\"", "&#39;"=>"\'"
39 39
);
40 40
//htmlspecialchars_decode
41 41
$string_htmlspecialchars_encode=array(
42
	"<"=>"&lt;", ">"=>"&gt;", "&"=>"&amp;", "\""=>"&quot;", "\'"=>"&#039;"
42
	"<"=>"&lt;", ">"=>"&gt;", "&"=>"&amp;", "\""=>"&quot;", "\'"=>"&#39;"
43 43
);
44 44

  
45 45
//convert some bad characters

Also available in: Unified diff