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
- Dummy variable rule for indefinite integrals?
- Printing Service is not available after software update on 24.04
- What are the correct lyrics to the song "Lola", by The Kinks?
- What does E.T. mean in E.T. the Extra-Terrestrial?
- If I rank duplicate weapons or frames up to 30, do they all count towards Mastery Rank?
- Will this this schematic modification work?
- strange use of вышел
- Prophylactic intubation in cases of spinal cord trauma?
- What does the author indicate to by writing "Listen to the NEVER HAVES" in poem
- Looking for comic about scientific research
- Fixing Leak in Icemaker water supply
- Full-bridge rectifier causes strange slow oscillation of the DC voltage envelope
- What is the meaning/utility of __[] AKA BlankSequence[][]?
- How can I bend or deform an object to create a concave or pincushion shape?
- 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?
- Can a magnetic loop antenna be used to communicate through a perfect metal container?
- Did Lucan make an elementary blunder about the zodiac in “Pharsalia” book 3?
- Does Convergence of Arc Length Imply Uniform Convergence?
- Best way to splice an old 8/2 cable with no ground?
- The difference between /ɪ/ and /ə/ on unstressed syllable
- How do you learn without AI?
- Is a proper wire nut connection possible if wires don’t twist?
- What damages are recoverable for late delivery of a package?
- Extreme outlier in real data
lang-php