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

Diff for phpPlatonLib/common/cgi/Attic/fnc.unset_all.php between version 1.1 and 1.2

version 1.1, 2002/04/19 23:58:05 version 1.2, 2002/04/21 23:21:19
Line 1 
Line 1 
 <?php  <?php
   
 function unset_all($var)  /*
 {   * phpPlatonLib - Platon software development group PHP library
         global $HTTP_POST_VARS;   *
         global $HTTP_GET_VARS;   * common/cgi/fnc.unset_all.php - unset all CGI types of variable
         global $HTTP_COOKIE_VARS;   * ____________________________________________________________
         global $$var;   *
    * Developed by Ondrej Jombik <nepto@pobox.sk>
         unset($HTTP_POST_VARS[$var]);   * Copyright (c) 2001-2002 Platon SDG, http://www.platon.sk/
         unset($HTTP_GET_VARS[$var]);   * All rights reserved.
         unset($HTTP_COOKIE_VARS[$var]);   *
         //unset($$var);   * See README file for more information about this software.
         $$var = '';   * See COPYING file for license information.
    *
    * Download the latest version from
    * http://www.platon.sk/projects/phpPlatonLib/
    */
   
   /* $Id$ */
   
   if (! defined('phpPlatonLib_fnc_unset_all')) {
           define('phpPlatonLib_fnc_unset_all', 1);
   
           function unset_all($var)
           {
                   global $HTTP_POST_VARS;
                   global $HTTP_GET_VARS;
                   global $HTTP_COOKIE_VARS;
                   global $$var;
   
                   unset($HTTP_POST_VARS[$var]);
                   unset($HTTP_GET_VARS[$var]);
                   unset($HTTP_COOKIE_VARS[$var]);
                   //unset($$var);
                   $$var = '';
   
                   return true;
           }
   
 }  }
   
 ?>  ?>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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