Curious as to why I am not permitted to upload PHP files

I have tried to upload a PHP text file so that I can use to validate the code. I get prompted that “The current model doesn’t support files of this type.”
However if I simply change the file extension to .txt, it allows the upload and does check the code.

Hi @marko63 , Welcome to the forum.

Below is the list of MIME types currently supported:

  • PDF - application/pdf
  • JavaScript - application/x-javascript, text/javascript
  • Python - application/x-python, text/x-python
  • TXT - text/plain
  • HTML - text/html
  • CSS - text/css
  • Markdown - text/md
  • CSV - text/csv
  • XML - text/xml
  • RTF - text/rtf

You can refer the link below for more information.

Document Processing

Thanks