Page 1 of 1

Question about MIME type validation on uploaded files

Posted: Mon Dec 02, 2019 7:23 am
by deit
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

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

Posted: Tue Dec 03, 2019 9:07 am
by AMurray
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.

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

Posted: Tue Dec 03, 2019 9:15 am
by sozzled
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. ;)

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

Posted: Tue Dec 03, 2019 9:30 pm
by AMurray
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. :-[