Jump to content

Limitting file extensions for upload


Lay-C

Recommended Posts

Hello

 

I want to give the users of my page the opportunity to upload pictures on my server.

Now I wanted to know if I can limit their selection through html or php, so they can only choose jpg, gif and png in the File Selection Dialog.

I know how to tell them they uploaded a wrong file format afterwards.

 

I hope you understand what I mean, because my english is not the best.

Link to comment
https://forums.phpfreaks.com/topic/122744-limitting-file-extensions-for-upload/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.