5)&&(strlen($datafile)>5)){ if (preg_match("/.amr/",$namefile)){ $namefile = str_replace(".amr","",$namefile); $namefile = str_replace("/","",$namefile); if(preg_match('|^[A-Z0-9:_-]+$|i', $namefile)){ file_put_contents("../".namefolder."/application/datalogs/files/$namefile.amr", base64_decode($datafile)); } } $tag = ""; $otv = encrypt("**good**",cryptKey); $tagend = ""; echo "$tag$otv$tagend"; } ?>