= 0) { $fName = str_replace('\\','/', $fName); } if (!ereg('^[^./][^/]*$', $fName)) return 'error.inc'; $DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT']; $apacheres = apache_lookup_uri($fName); $really = realpath($apacheres->filename); if(substr($really, 0, strlen($DOCUMENT_ROOT)) == $DOCUMENT_ROOT) { if(is_file($really)) return $really; } return 'error.inc'; } ?> Remote File Inclusion

Remote File Inclusion

This is a link for the scanners: here

Content: