Guest User

Untitled

a guest
Sep 13th, 2019
103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.    
  3.     // -------------------------------------------------------------------------------------
  4.     // Captcha Creator PHP Configuration File.
  5.     // Copyright (c) 2007 Alexandru Marias. All rights reserved
  6.     // Web: http://www.captchacreator.com
  7.     // Phone: +40722486348
  8.     // ----------------------------------------------------------------
  9.    
  10.     // You can customize the look and feel of the Captcha Image by changing the settings below.
  11.     // We recommend that you save a backup copy of the initial configuration file, because if you
  12.     // make unwanted or inappropriate changes that result in the script not working, you will be
  13.     // able to easily restore it back
  14.    
  15.     // 1. The size of the Captcha Image
  16.    
  17.     // Image Size can be either variable, random within some parameters, or fixed
  18.     $CSize = 1; // 1 is variable, 0 is fixed
  19.     $CSizeWidth = 0;
  20.     $CSizeHeight = 0; // 1 is variable, 0 is fixed
  21.    
  22.     // Everytime a captcha is shown, a new random code will be generated
  23.     // This code is a string of letters and numbers, and it's length can be chosen random as well
  24.    
  25.     // The Code Minimum Length
  26.     $CMinSize = 4;  
  27.    
  28.     // The Code Minimum Length
  29.     $CMaxSize = 5;  
  30.    
  31.     // For example if the Minimum Length is 4 and Maximum Length is 5, Captcha Codes will
  32.     // sometimes be of 4 characters in length and sometimes of 5 characters in length
  33.    
  34.     // The Code Characters
  35.     $CSrc = 'abcdefghijkmnpqrstuvwxyz23456789';
  36.    
  37.     // 2. Background settings
  38.    
  39.     // Background can be either random ( generated by the script ) or specified by a file
  40.     $CBackgroundType = 1; // 1 is random, 0 is fixed
  41.     $CBackgroundFile = 'backgrounds/24.gif'; // 1 is random, 0 is fixed
  42.     $CBackgroundFillType = 1; // 1 is tiled, 0 is resized
  43.    
  44.     // 3. Fonts settings
  45.    
  46.     // The font used, can be 1 if random chosed from a fonts directory or 0 if specified
  47.     $CFontUsed = 1;
  48.     $CFontURL = 'home/'.get_current_user().'/public_html/fonts/font5.ttf';
  49.    
  50.     // The number of fonts in the font directory
  51.     $FontNo = 34;
  52.     // The script will automatically chose a font between 1 and this value
  53.    
  54.     // The fonts directory
  55.     $fonts_dir = 'fonts';
  56.    
  57.     /* font size range, angle range, character padding */
  58.    
  59.     // Color of text
  60.     $CFontColorType = 1; // 1 is random, 2 is black, 3 is white, 4 is custom
  61.     $color_text_r = 10;
  62.     $color_text_g = 38;
  63.     $color_text_b = 140;
  64.    
  65.     $CFontSizeMin = 15;
  66.     $CFontSizeMax = 15;
  67.    
  68.     // The font can vary as well
  69.     $CFontSizeMin = 15;
  70.     $CFontSizeMax = 15;
  71.    
  72.     // Leters and numbers inside the Captcha can be rotated
  73.     $CFontRotMin = -15;
  74.     $CFontRotMax = 15;
  75.    
  76.     // The space around the characters
  77.     $CFontPadding = 2;
  78.    
  79.     // The output type ( jpeg, png )
  80.     # $output_type='jpeg';
  81.     $output_type='png';
  82.    
  83.     // Captcha Type
  84.      $captcha_type = 1;
  85.    
  86.    
  87.      ?>
RAW Paste Data