check the source of a file

kerrywild

New Member
i want php code to open a file and search in it for some dangerous words like\[code\]if(preg_match("/(echo|zend|print|print_r|phpinfo|symlink|ini_set|telnet|cgi|eval|base64_encode|base64_decode)/iU",$filesource)){echo 'error';}\[/code\]how i can make it
 
Back
Top