I am using wamp server . I wrote a code where user could upload file and the uploaded file will be stored in the server for further processing . I wanted to restrict the executable file upload to this API so that only .feature files can be uploaded. is there any way in WAMP server that we could restrict such file uploads
Add a comment |
1 Answer 1
You could restrict your file types with your script. Don't need to do things on WAMP.
Please see the below link for more info. It is explaining how to do it
Sign up to request clarification or add additional context in comments.
Comments
This question is in a collective: a subcommunity defined by tags with relevant content and experts.
- The Overflow Blog
-
- Featured on Meta
-
-
Related
Hot Network Questions
- Diagnosing non-operational wired doorbell
- Visualizing Different Coordinate Representations of Complex Numbers
- What are the distance and time criteria for an AirTag to emit an anti-stalking sound?
- Does spectroscopy count as a measurement of electron spin?
- How can I bend or deform an object to create a concave or pincushion shape?
- How to check for IPv6 colisions in Linux
- Deeper understanding of Ezekiel 11:3's "...The time is not near to build houses. This city is the pot and we are the flesh.."
- In ITT, are all provable equalities in the empty context provable by refl?
- To pretwist or not between two solids and one stranded?
- Sort this puzzle out
- Making a case for a defensive infantry wedge formation
- Simple current source with bjt
- Proverb for when one is already in a hurry but the condition wastes even more time
- What damages are recoverable for late delivery of a package?
- Why optional studs on MTB shoes?
- Why do my Raspberry Pi 5 SD cards have unwritable partition tables?
- Include endowed chairs/emeritus status in recommender titles for grad apps?
- Using ASCII Art & pxpic
- The Airbus A320 that pitched down due to solar radiation recently. Why did that happen? I thought the computers vote the corrupted one out and ignore?
- If I rank duplicate weapons or frames up to 30, do they all count towards Mastery Rank?
- Looking for comic about scientific research
- Difficulties in explicitly constructing the "cap" bordism
- Why does Dr. House use Vicodin?
- Can missed approach procedures be used for a PT?
lang-php