/[clonezilla-sysresccd]/trunk/www/working/news.php
ViewVC logotype

Diff of /trunk/www/working/news.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 132 by sng, Thu Sep 16 18:15:05 2010 UTC revision 133 by sng, Wed Sep 22 14:44:59 2010 UTC
# Line 117  the site's <a href="http://clonezilla-sy Line 117  the site's <a href="http://clonezilla-sy
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);

Legend:
Removed from v.132  
changed lines
  Added in v.133

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26