Question about MIME type validation on uploaded files

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
deit
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Nov 06, 2019 10:50 am

Question about MIME type validation on uploaded files

Post by deit » Mon Dec 02, 2019 7:23 am

Hi Per Yngve Berg,

May I request you for help to have Server side validation to check Mime type of File based on its content but not based on File name extension. We have struggling to put PHP validation on file upload element.

Any help will be highly appreciated.


Regards
Praveen

 
User avatar
AMurray
Joomla! Champion
Joomla! Champion
Posts: 5859
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Front end user session is not killed even after session timeout

Post by AMurray » Tue Dec 03, 2019 9:07 am

deit wrote:
Mon Dec 02, 2019 7:23 am
Hi Per Yngve Berg,

May I request you for help to have Server side validation to check Mime type of File based on its content but not based on File name extension. We have struggling to put PHP validation on file upload element.

Any help will be highly appreciated.


Regards
Praveen
Please start a separate topic concerning MIME types, as it is off-topic for the original question of this thread (concerning session expiry); no doubt the Moderators will move this post to a new topic.
Regards,
--------------------------------------------------------------
A Murray
Millennium Falcon - it's the ship that made the Kessel run in less than 12 parsecs! The fastest hunk of junk in the galaxy.

User avatar
sozzled
Joomla! Exemplar
Joomla! Exemplar
Posts: 9293
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Front end user session is not killed even after session timeout

Post by sozzled » Tue Dec 03, 2019 9:15 am

AMurray wrote:
Tue Dec 03, 2019 9:07 am
... no doubt the Moderators will move this post to a new topic.
... only if you report it to them. ;)
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
AMurray
Joomla! Champion
Joomla! Champion
Posts: 5859
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Front end user session is not killed even after session timeout

Post by AMurray » Tue Dec 03, 2019 9:30 pm

sozzled wrote:
Tue Dec 03, 2019 9:15 am
AMurray wrote:
Tue Dec 03, 2019 9:07 am
... no doubt the Moderators will move this post to a new topic.
... only if you report it to them. ;)
Done. :-[
Regards,
--------------------------------------------------------------
A Murray
Millennium Falcon - it's the ship that made the Kessel run in less than 12 parsecs! The fastest hunk of junk in the galaxy.

 

Post Reply

Return to “Administration Joomla! 3.x”