677. File Comparison Report

Produced on Mon May 12 13:06:47 2008 UTC. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

677.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.0.5\simg simg.php Mon Jan 28 09:41:42 2008 UTC
2 Dolphin-v.6.1.0\simg simg.php Thu Mar 27 04:18:08 2008 UTC

677.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 4 104
Changed 3 13
Inserted 0 0
Removed 0 0

677.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

677.4 Active regular expressions

No regular expressions were active.

677.5 Comparison detail

1   <?php   1   <?php
2     2  
3   /********* ********** ********** ********** ********** ********** ********** ******   3   /********* ********** ********** ********** ********** ********** ********** ******
4   *                              D olphin Sma rt Communi ty Builder   4   *                              D olphin Sma rt Communi ty Builder
5   *                                 --------- --------   5   *                                 --------- --------
6   *     begi n                 : M on Mar 23  2006   6   *     begi n                 : M on Mar 23  2006
7   *     copy right             : ( C) 2006 Bo onEx Group   7   *     copy right             : ( C) 2006 Bo onEx Group
8   *     webs ite               : h ttp://www. boonex.com /   8   *     webs ite               : h ttp://www. boonex.com /
9   * This fil e is part  of Dolphin  - Smart C ommunity B uilder   9   * This fil e is part  of Dolphin  - Smart C ommunity B uilder
10   *   10   *
11   * Dolphin  is free so ftware. Th is work is  licensed  under a Cr eative Com mons Attri bution 3.0  License.    11   * Dolphin  is free so ftware. Th is work is  licensed  under a Cr eative Com mons Attri bution 3.0  License. 
12   * http://c reativecom mons.org/l icenses/by /3.0/   12   * http://c reativecom mons.org/l icenses/by /3.0/
13   *   13   *
14   * Dolphin  is distrib uted in th e hope tha t it will  be useful,  but WITHO UT ANY WAR RANTY;   14   * Dolphin  is distrib uted in th e hope tha t it will  be useful,  but WITHO UT ANY WAR RANTY;
15   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.   15   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.
16   * See the  Creative C ommons Att ribution 3 .0 License  for more  details.    16   * See the  Creative C ommons Att ribution 3 .0 License  for more  details. 
17   * You shou ld have re ceived a c opy of the  Creative  Commons At tribution  3.0 Licens e along wi th Dolphin   17   * You shou ld have re ceived a c opy of the  Creative  Commons At tribution  3.0 Licens e along wi th Dolphin
18   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m   18   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m
19   ********** ********** ********** ********** ********** ********** ********** *****/   19   ********** ********** ********** ********** ********** ********** ********** *****/
20     20  
21     21  
22   require_on ce( '../in c/header.i nc.php' );   22   require_on ce( '../in c/header.i nc.php' );
23   require_on ce( BX_DIR ECTORY_PAT H_INC . 'i mages.inc. php' );   23   require_on ce( BX_DIR ECTORY_PAT H_INC . 'i mages.inc. php' );
24     24  
25   ob_start() ;   25   ob_start() ;
26   $chars = a rray("a"," b","c","d" ,"e","f"," h","i","k" ,"m","n"," o","r","s" ,"t","u"," v","w","x" ,"z","2"," 3","4","5" ,"6","7"," 8","9");   26   $chars = a rray("a"," b","c","d" ,"e","f"," h","i","k" ,"m","n"," o","r","s" ,"t","u"," v","w","x" ,"z","2"," 3","4","5" ,"6","7"," 8","9");
27   /*   27   /*
28   $chars = a rray("a"," A","b","B" ,"c","C"," d","D","e" ,"E","f"," F","g","G" ,"h","H"," i","I","j" ,"J",   28   $chars = a rray("a"," A","b","B" ,"c","C"," d","D","e" ,"E","f"," F","g","G" ,"h","H"," i","I","j" ,"J",
29                   "k"," K","L","m" ,"M","n"," N","o","p" ,"P","q"," Q","r","R" ,"s","S"," t","T",   29                   "k"," K","L","m" ,"M","n"," N","o","p" ,"P","q"," Q","r","R" ,"s","S"," t","T",
30                   "u"," U","v","V" ,"w","W"," x","X","y" ,"Y","z"," Z","2","3" ,"4","5"," 6","7","8" ,"9");   30                   "u"," U","v","V" ,"w","W"," x","X","y" ,"Y","z"," Z","2","3" ,"4","5"," 6","7","8" ,"9");
31   */   31   */
32   $textstr =  '';   32   $textstr =  '';
33   for   ($i   =   0,   $length   =   6;   $i   <   $length;   $i++)   {   33   for   ($i   =   0,   $length   =   6;   $i   <   $length;   $i++)
34      $textst r .= $char s[rand(0,  count($cha rs) - 1)];   34      $textst r .= $char s[rand(0,  count($cha rs) - 1)];
35   }   35  
36   $hashtext  = md5($tex tstr);   36   $hashtext  = md5($tex tstr);
37   setcookie( 'strSec',  $hashtext,  0, '/');   37   setcookie( 'strSec',  $hashtext,  0, '/');
38     38  
39   if ( produ ceSecurity Image( $te xtstr, $ha shtext ) ! = IMAGE_ER ROR_SUCCES S )   39   if ( produ ceSecurity Image( $te xtstr, $ha shtext ) ! = IMAGE_ER ROR_SUCCES S )
40   {   40   {
41       // out put header   41       // out put header
42       header ( "Content -Type: ima ge/gif" );   42       header ( "Content -Type: ima ge/gif" );
43          43       
44       header ( "Expires : Mon, 26  Jul 1997 0 5:00:00 GM T" );   44       header ( "Expires : Mon, 26  Jul 1997 0 5:00:00 GM T" );
45       header ( "Last-Mo dified: "  . gmdate(" D, d M Y H :i:s") . "  GMT" );   45       header ( "Last-Mo dified: "  . gmdate(" D, d M Y H :i:s") . "  GMT" );
46       header ( "Cache-C ontrol: no -store, no -cache, mu st-revalid ate" );   46       header ( "Cache-C ontrol: no -store, no -cache, mu st-revalid ate" );
47       header ( "Cache-C ontrol: po st-check=0 , pre-chec k=0", fals e );   47       header ( "Cache-C ontrol: po st-check=0 , pre-chec k=0", fals e );
48       header ( "Pragma:  no-cache"  );   48       header ( "Pragma:  no-cache"  );
49          49       
50       // out put error  image   50       // out put error  image
51        $erro r Fil e n a m e   =   $dir['prof ileImage']   .   'simg_erro r.gif'
;
  51        @ r
e
a dfil e (   $dir['prof ileImage']   .   'simg_erro r.gif'   ) ;
52       $fp =  fopen( $er rorFilenam e, 'r' );    
53       $fsize  = filesiz e( $errorF ilename );    
54       if( $f p )    
55       {    
56           pr int fread(  $fp, $fsi ze );    
57       }    
58       fclose ( $fp );    
59   }   52   }
60     53  
61   ob_end_flu sh();   54   ob_end_flu sh();
62   ?>   55   ?>