PHP downloading
SaahilKhatkhate (0)

I am making a contact form with html, and it uses PHP to send the email. When I click the send button, repl.it downloads the php file to my computer instead of executing it. Is there a way to fix this? Thanks in advance!

You are viewing a single comment. View All
timmy_i_chen (934)

We made some updates to PHP (well, we made two new "languages"):

https://repl.it/languages/php_cli - New and improved PHP language for command line interface shenanigans. Supports multiple files and syntax highlighting.
https://repl.it/languages/php7 - PHP Web servers! Just like other hosted repls, this allows you to write websites using PHP.