Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for phpWebFileManager/index.php between version 1.40 and 1.41

version 1.40, 2003/02/13 20:17:02 version 1.41, 2003/02/13 23:27:46
Line 17 
Line 17 
  * http://www.platon.sk/projects/phpWebFileManager/   * http://www.platon.sk/projects/phpWebFileManager/
  */   */
   
 /* $Platon: phpWebFileManager/index.php,v 1.39 2003/02/12 19:46:07 nepto Exp $ */  /* $Platon: phpWebFileManager/index.php,v 1.40 2003/02/13 20:17:02 nepto Exp $ */
   
 /*  /*
  * phpWebFileManager initialization   * phpWebFileManager initialization
Line 538  function fm_main() /* {{{ */
Line 538  function fm_main() /* {{{ */
                                 }                                  }
                         }                          }
                 case 'edit_file':                  case 'edit_file':
                         if (count($action_message) <= 0) {                          if (count($action_message) <= 0 && ($fp = @fopen($fm_filename, 'r')) != false) {
                                 echo '<input type=hidden value="save_file" name="'.$fm_cfg['cgi'].'action">';                                  echo '<input type=hidden value="save_file" name="'.$fm_cfg['cgi'].'action">';
                                 // Please write me, if you want to have cols and rows configurable.                                  // Please write me, if you want to have cols and rows configurable.
                                 echo '<textarea name="'.$fm_cfg['cgi'].'file_data" cols=50 rows=15>';                                  echo '<textarea name="'.$fm_cfg['cgi'].'file_data" cols=50 rows=15>';
                                 htmlentities(@readfile($fm_filename));                                  while (! @feof($fp)) {
                                           echo htmlspecialchars(@fread($fp, 1024));
                                   }
                                   @fclose($fp);
                                 echo '</textarea><br><br>';                                  echo '</textarea><br><br>';
                                 echo '<input type=submit name="'.$fm_cfg['cgi'].'submit" value="'._FM_FILE_SAVE.'">&nbsp;';                                  echo '<input type=submit name="'.$fm_cfg['cgi'].'submit" value="'._FM_FILE_SAVE.'">&nbsp;';
                                 echo '<input type=submit name="'.$fm_cfg['cgi'].'submit" value="'._FM_CANCEL.'">';                                  echo '<input type=submit name="'.$fm_cfg['cgi'].'submit" value="'._FM_CANCEL.'">';

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top