Order Allow,Deny
Deny from all
<FilesMatch "^[^.]+\.(?i:jpe?g|png|gif|pdf|li|rar|zip|txt|vcf|mp3|mp4)$">
Allow from all
</FilesMatch>
$file_type = strtolower( end ( explode( ".", $_FILES["avatar"]["name"] ) ) );
if ($file_type === "edat")
{
//do additional checking/move file to public directory
}
$file_type = strtolower( end ( explode( ".", $_FILES["avatar"]["name"] ) ) );
if ($file_type === "edat")
{
//do additional checking/move file to public directory
}
$file_type = strtolower( end ( explode( ".", $_FILES["avatar"]["name"] ) ) );
if ($file_type === "edat")
{
//do additional checking/move file to public directory
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.