Advertisement
Guest User

Untitled

a guest
May 18th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.20 KB | None | 0 0
  1. <?php
  2. /*-----------------------------------------------------------------------------+
  3. | eMagicOne |
  4. | Copyright (c) 2012-2014 eMagicOne.com <contact@emagicone.com> |
  5. | All rights reserved |
  6. +------------------------------------------------------------------------------+
  7. | |
  8. | PHP MySQL Bridge |
  9. | |
  10. | Bridge is just another way to connect to your database. |
  11. | Normally program uses direct MySQL connection to remote database installed at|
  12. | website or some other web server. In some cases this type of connection does |
  13. | not work - your hosting provider may not allow direct connections or your |
  14. | LAN settings/firewall prevent connection from being established. |
  15. | Bridge allows you to work with remote database with |
  16. | no direct MySQL connection established. |
  17. | |
  18. | |
  19. | Developed by eMagicOne, |
  20. | Copyright (C) 2012-2014 |
  21. +-----------------------------------------------------------------------------*/
  22.  
  23. $version = '$Revision: 7.39 $';
  24.  
  25. // Please change immediately
  26. // it is security threat to leave these values as is!
  27. $username = 'NewUser';
  28. $password = 'ebykrwfe443ewf';
  29.  
  30. $database_extension = 'auto'; // 'auto', 'pdo', 'mysqli', 'mysql'
  31.  
  32. // Please create this directory or change to any existing temporary directory
  33. // temporary directory should be writable by php script (chmod 0777)
  34. $temporary_dir = "./tmp"; // on some systems if you get output with 0 size, try to use some local temporary folder
  35.  
  36. $allow_compression = true;
  37.  
  38. //Values of $compress_level between 1 and 9 will trade off speed and efficiency, and the default is 6.
  39. //The 1 flag means "fast but less efficient" compression, and 9 means "slow but most efficient" compression.
  40. $compress_level = 6; // 1 - 9
  41.  
  42. $limit_query_size = 8192; //Kb
  43. // Please enter your email address here to receive notifications
  44. //$user_email = 'YOUR@EMAIL-HERE.com';
  45.  
  46. // You can define table prefix here - only tables with names starting with these characters will be stored by bridge and transferred to Store Manager.
  47. // Empty this value to tell bridge to use all tables except for those specified in $exclude_db_tables below
  48. // $include_db_tables = '';
  49.  
  50. /*
  51. Please uncomments following database connection information if you need to connect to some
  52. specific database or with some specific database login information.
  53. By default PHP MySQL Bridge is getting login information from your shopping cart.
  54. This option should be used on non-standard configuration, we assume you know what you are doing
  55. */
  56.  
  57. /*
  58. define('USER_DB_SERVER',''); // database host to connect
  59. define('USER_DB_SERVER_USERNAME',''); // database user login to connect
  60. define('USER_DB_SERVER_PASSWORD',''); // database user password to connect
  61. define('USER_DB_DATABASE',''); // database name
  62. define('USER_TABLE_PREFIX',''); // database prefix
  63. */
  64.  
  65. // Do not store tables specified below. Use this variable to reduce size of the data retrieved from bridge
  66. // Specify table names delimited by semicolon ;
  67. $exclude_db_tables = 'log_*;dataflow_*;xcart_sessions_data;xcart_session_history;xcart_stats_shop;xcart_stats_pages_views;xcart_stats_pages;xcart_stats_pages_paths;amazonimport_*;bcse_catalog_sessions;bcse_catalog_config;google_*;zen_uti;zen_uti_*;emo_admin;emo_admin_*;emo_user_*;admin_activity_log';
  68.  
  69. // In case ifyou have problems with data retrieving change this to a single quote
  70. define('QOUTE_CHAR', '"');
  71.  
  72. error_reporting(E_ERROR | E_WARNING | E_PARSE); //good (and pretty enough) for most hostings
  73.  
  74. if(!ini_get('safe_mode')) {
  75. @set_time_limit(0); //no time limiting for script, doesn't work in safe mode
  76. } else {
  77. @ini_set('max_execution_time'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement