Changeset 15211 for trunk/simg
- Timestamp:
- 06/07/11 23:41:51 (12 months ago)
- File:
-
- 1 edited
-
trunk/simg/simg.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/simg/simg.php
r15201 r15211 16 16 /* 17 17 $chars = array("a","A","b","B","c","C","d","D","e","E","f","F","g","G","h","H","i","I","j","J", 18 "k","K","L","m","M","n","N","o","p","P","q","Q","r","R","s","S","t","T",19 "u","U","v","V","w","W","x","X","y","Y","z","Z","2","3","4","5","6","7","8","9");18 "k","K","L","m","M","n","N","o","p","P","q","Q","r","R","s","S","t","T", 19 "u","U","v","V","w","W","x","X","y","Y","z","Z","2","3","4","5","6","7","8","9"); 20 20 */ 21 21 $textstr = ''; … … 31 31 if ( produceSecurityImage( $textstr, $hashtext ) != IMAGE_ERROR_SUCCESS ) 32 32 { 33 // output header34 //header( "Content-Type: image/gif" );35 33 // output header 34 //header( "Content-Type: image/gif" ); 35 36 36 header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" ); 37 37 header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" ); … … 39 39 header( "Cache-Control: post-check=0, pre-check=0", false ); 40 40 header( "Pragma: no-cache" ); 41 42 // output error image43 @readfile( $dir['profileImage'] . 'simg_error.gif' );41 42 // output error image 43 @readfile( $dir['profileImage'] . 'simg_error.gif' ); 44 44 } 45 45
Note: See TracChangeset
for help on using the changeset viewer.