My web hosting company says there is something wrong with PHP code

前端 未结 4 1667
北海茫月
北海茫月 2021-01-29 07:46

This is the PHP it suppose to connect to a contact.html page and then a thank you page after afterwards.I just wanted a contact form. it wont recognize files as .php.I did save

4条回答
  •  盖世英雄少女心
    2021-01-29 08:24

    Try to check out if php is working:

    
    

    If you see no output, your php-code won't be parsed, maybe because your contact-site has an *.html ending, it seemingly needs a *.php file ending, to be parsed,

    if you want to use the extension '*.html', you have to add some lines to your webserver - configuration file,

    have a look at this: maybe a solution

提交回复
热议问题