It looks like you're new here. If you want to get involved, click one of these buttons!
$('#mp3').uploadify({
'uploader' : 'http://www.tracklister.net/assets/javascript/uploadify/uploadify.swf',
'script' : 'http://www.tracklister.net/ajax/uploadmp3file/<tag:liveset_id />/<tag:accountid />/',
'cancelImg' : 'http://www.tracklister.net/assets/javascript/uploadify/cancel.png',
'auto' : true,
'fileExt' : '*.mp3',
'fileDesc' : 'Only Mp3 files allowed',
'fileDataName' : 'mp3',
'width' : 107,
onComplete: function(event, queueID, fileObj, response, data) {
var index = response.search(/error=/);
if(index!=-1)
{
alert(response.replace(/error=/, \"\"));
}
else
{
$(\".uploadinformation\").html(response);
alert(\"Thank you for uploading this liveset and making Tracklister a better place!\");
}
},
onError: function (a, b, c, d) {
if (d.status == 404)
alert('Could not find upload script. Use a path relative to: '+'<?= getcwd() ?>');
else if (d.type === \"HTTP\")
alert('error '+d.type+\": \"+d.status);
else if (d.type ===\"File Size\")
alert(c.name+' '+d.type+' Limit: '+Math.round(d.sizeLimit/1024)+'KB');
else
alert('error '+d.type+\": \"+d.text);
}
});
});
// ]]></script>
RewriteEngine On
RewriteBase /
php_value max_execution_time 7200
php_value max_input_time 7200
php_value memory_limit 64M
php_value file_uploads On
php_value upload_max_filesize 500M
php_value post_max_size 500M
##STILL NEEDS 404 REDIRECTION##
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)$ - [L]
RewriteRule ^assets/(.*) index.php?module=assets&filepath=$1 [L]
RewriteRule ^(.*)/(.*)/(.*)/(.*)/(.*)/ index.php?module=$1&action=$2&param1=$3&param2=$4&param3=$5 [L]
RewriteRule ^(.*)/(.*)/(.*)/(.*)/ index.php?module=$1&action=$2&param1=$3&param2=$4 [L]
RewriteRule ^(.*)/(.*)/(.*)/ index.php?module=$1&action=$2&param1=$3 [L]
RewriteRule ^(.*)/(.*)/ index.php?module=$1&action=$2 [L]
RewriteRule ^(.*)/ index.php?module=$1 [L]