Clan emblem upload

Experienced Elementalist
Joined
Oct 26, 2008
Messages
271
Reaction score
20
Hello Friends,

its my only unsolved question.. i.e clan emblem uploader..
i get these errors
Code:
function writeToLogFile($msg) { // $today = date("M j G:i:s Y"); $today = date("Y_m_d"); $logfile = "./logs/".$today."_log_SQL INJECTIONS.txt"; $dir = ''; $saveLocation=$logfile; $fp = @fopen( $saveLocation,"r"); $Data = @fread($fp, 800000); if (!$handle = @fopen($saveLocation, "w+b")) { echo "error"; exit; } else { if(@fwrite($handle,"$msg\r\n SQL Injection detected\r\n$Data")===FALSE) { echo "geen error"; exit; } @fclose($handle); } }

my question is. should i edit sum thing in database before configuring uploader???? is these any changes to be made???? cuz rotana's emblem uploader works for every 1 but nt to me... im starting from first with fresh database "unedited".. so please help me ppl :/:
 
Back