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 phpPlatonLib/Platon/Platon.php between version 1.16 and 1.17

version 1.16, 2003/01/26 12:46:30 version 1.17, 2003/01/26 20:26:08
Line 139  class Platon
Line 139  class Platon
     function get_mtime() /* {{{ */      function get_mtime() /* {{{ */
     {      {
         $mtime = microtime();          $mtime = microtime();
         $mtime = explode(" ", $mtime);          $mtime = explode(' ', $mtime);
         $mtime = $mtime[1] + $mtime[0];          $mtime = $mtime[1] + $mtime[0];
         return $mtime;          return $mtime;
     } /* }}} */      } /* }}} */
Line 183  class Platon
Line 183  class Platon
                 $url = "$schema://$server_name$delim$url";                  $url = "$schema://$server_name$delim$url";
             }              }
         }          }
         //echo("Location: $url [$file][".$HTTP_SERVER_VARS['PHP_SELF']."]");  
         header("Location: $url");          header("Location: $url");
         exit;          exit;
     } /* }}} */      } /* }}} */
Line 249  class Platon
Line 248  class Platon
         return $ret;          return $ret;
     }      }
   
       /*  if (! is_array($origvars)) {  
             foreach (explode('&', $origvars) as $param) {  
                 $parts = explode('=', $param, 2);  
                 if (! isset($parts[1])) {  
                     $parts[1] = $default_value;  
                 }  
                 if (strlen($parts[0]) <= 0) {  
                     continue;  
                 }  
                 $origvars[$parts[0]] = $parts[1];  
             }  
         }  
         if (! strncasecmp('GET', $method, 3)) {  
             if ($method[strlen($method) - 1] == '+' && count($origvars) > 0) {  
                 echo '?';  
             }  
             foreach ($origvars as $key => $val) {  
                 echo htmlspecialchars(rawurlencode($key).'='.rawurlencode($val));  
             }  
         } else {  
             foreach ($origvars as $key => $val) {  
                 echo '<input type="hidden" name="'.htmlspecialchars($key).'"';  
                 if (isset($val)) {  
                     echo ' value="'.htmlspecialchars($val).'"';  
                 }  
                 echo ">\n";  
             }  
         }  
         return true;  
     } /* }}} */  
   
     /**      /**
      * Reverse of the standard htmlspecialchars() PHP function.       * Reverse of the standard htmlspecialchars() PHP function.
      *       *

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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