117 |
|
|
118 |
|
|
119 |
<?php |
<?php |
120 |
|
error_reporting(E_ALL); |
121 |
|
// error_reporting(E_ERROR); |
122 |
|
ini_set('display_errors', '1'); |
123 |
|
|
124 |
|
|
125 |
$file = file_get_contents ('./clonezilla-sysresccd.rss'); |
$file = file_get_contents ('./clonezilla-sysresccd.rss'); |
126 |
$eReg = "<title>[^<]*<"; |
$eReg = "<title>[^<]*<"; |
127 |
$tReg = '<a name=\0"></a>\0'; |
$tReg = '#<a name=\0"></a>\0#'; |
128 |
$file = ereg_replace($eReg,$tReg,$file); |
$file = preg_replace($eReg,$tReg,$file); |
129 |
|
|
130 |
$file = str_replace('<">','">',$file); |
$file = str_replace('<">','">',$file); |
131 |
$file = str_replace("<a name=<H2>","<a name=\"",$file); |
$file = str_replace("<a name=<H2>","<a name=\"",$file); |