I am using this htaccess code to check login and download any direct hot link file
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.+)$ /includes/put_file.php?dir=laudos&file=$1 [L,NC,QSA]
my problem is i want to skeep .php extension files just want to check .jpg, .doc etc document kind of files