upload klasörünün içerisinde .htaccess diye bir dosya oluştur. Sonra aşağıdaki kodu içerisine yaz.

<Files *.php>
deny from all
</Files>