Ask coding questions

← Back to all posts
PHP downloading
SaahilKhatkhate (2)

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

timmy_i_chen (1180)

We made some updates to PHP (well, we made two new "languages"): - New and improved PHP language for command line interface shenanigans. Supports multiple files and syntax highlighting. - PHP Web servers! Just like other hosted repls, this allows you to write websites using PHP.