Hi, I am having this error on the emblems script.
Code:"530720") { $err .= "Your file is too large. "; $ok = 0; } if( !in_array(strtolower($extensao), $extensoes) ) { $err .= "Wrong File Type. "; $ok = 0; } if ($ok == 0) { echo "Sorry your file was not uploaded Verify this errors "; echo "$err"; } else { if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target)) { echo "Emblem uploaded and updated succesfully "; mssql_query("UPDATE Clan SET EmblemChecksum = EmblemChecksum + 1 WHERE Name = '$CLID'"); mssql_query("UPDATE Clan SET EmblemUrl = 'upload/".$target."' WHERE Name = '$CLID'"); } else { echo "Sorry, there was a problem uploading your file."; } } } ?>


Reply With Quote

