original_string: function save_temp_file($elname) {
          if (!$this->get_new_filename($elname)) {
              return false;
          }
          if (!$dir = make_temp_directory('forms')) {
              return false;
          }
          if (!$tempfile = tempnam($dir, 'tempup_')) {
              return false;
          }
          if (!$this->save_file($elname, $tempfile, true)) {
              // something went wrong
              @unlink($tempfile);
              return false;
          }
  
          return $tempfile;
      }
code: function save_temp_file($elname) {
          if (!$this->get_new_filename($elname)) {
              return false;
          }
          if (!$dir = make_temp_directory('forms')) {
              return false;
          }
          if (!$tempfile = tempnam($dir, 'tempup_')) {
              return false;
          }
          if (!$this->save_file($elname, $tempfile, true)) {
              // something went wrong
              @unlink($tempfile);
              return false;
          }
  
          return $tempfile;
      }
code_tokens: function save_temp_file ( $ elname ) { if ( ! $ this -> get_new_filename ( $ elname ) ) { return false ; } if ( ! $ dir = make_temp_directory ( 'forms' ) ) { return false ; } if ( ! $ tempfile = tempnam ( $ dir , 'tempup_' ) ) { return false ; } if ( ! $ this -> save_file ( $ elname , $ tempfile , true ) ) { // something went wrong @ unlink ( $ tempfile ) ; return false ; } return $ tempfile ; }
docstring: Returns a temporary file, do not forget to delete after not needed any more.
  
  @param string $elname name of the elmenet
  @return string|bool either string or false
docstring_tokens: Returns a temporary file do not forget to delete after not needed any more .