//****************************************************************************************************** // ATTENTION: THIS FILE HEADER MUST REMAIN INTACT. DO NOT DELETE OR MODIFY THIS FILE HEADER. // // Name: uu_conlib.php // Revision: 2.1 // Date: 25/05/2007 11:02PM // Link: http://uber-uploader.sourceforge.net // Initial Developer: Peter Schmandra // Description: Gather stats on an existing upload // // Licence: // The contents of this file are subject to the Mozilla Public // License Version 1.1 (the "License"); you may not use this file // except in compliance with the License. You may obtain a copy of // the License at http://www.mozilla.org/MPL/ // // Software distributed under the License is distributed on an "AS // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or // implied. See the License for the specific language governing // rights and limitations under the License. // //*************************************************************************************************************** $UBER_VERSION = "4.6"; $path_to_upload_script = $base_url.'/cgi-bin/uu_upload.pl'; $path_to_ini_status_script = $base_url.'/cgi-bin/uu_ini_status.pl'; $default_config_file = 'uu_default_config'; $disallow_extensions = '/(sh|php|php3|php4|php5|py|shtml|phtml|cgi|pl|plx|htaccess|htpasswd|htm|html|xml|js|zip|tar|rar|tgz|bzip|exe|jpg|jpeg|gif|bmp|xls|csv|sql|dat)$/i'; $allow_extensions = '/(mpg|mpeg|avi|avi|divx|mp4|flv|wmv|rm|mov|moov|asf|swf|vob)$/i'; $MULTI_CONFIGS_ENABLED = 0; $multi_upload_slots = 0; $embedded_upload_results = 0; //Warning: This feature does not work using Safari Browser $max_upload_slots = 20; $check_file_name_format = 1; $check_disallow_extensions = 1; $check_allow_extensions = 0; $check_null_file_count = 1; $check_duplicate_file_count = 1; $cedric_progress_bar = 1; $progress_bar_width = 400; ///////////////////////////////////////// // Output a message to screen and exit. //////////////////////////////////////// function kak($msg){ print "\n"; print " \n"; print "
\n"; print "