Question: |
Good afternoon. One of the sites stopped working code phphttp://luxray.com.ua/for example here is a simple: include(`menu.php`)?> |
Answer: |
Hello. We found no problems with opening the website. Please specify what caused the problem. |
Answer: |
Hello. Your site works fine http://screencast.com/t/OOTH7wW21a6 What kind of error You have shown? |
Question: |
left blank. there is just the menu should be displayed using the \"include(`menu.php`)\"or \"price\" field is just empty http://luxray.com.ua/megasun.htmlвообщем all that was output by php not otobrazhaetsya html is now displayed. |
Answer: |
did You do any changes on the website? |
Question: |
no. |
Answer: |
You have html pages stoen php code? it will not work. to do this, that would be php processed html page. you can install this Directive .htaccess |
Question: |
don`t quite understand what was going on.I have to .html files inserted the php code\" include(`menu.php`)?> \"a couple of years, everything worked, and a few days ago stopped.something changed in php configuration of the server? |
Answer: |
php code never worked in html by default. html php is not processed in the configuration nothing has changed. what would the php worked .html documents http://www.erahost.ru/faq.php Tell me how to make html files be processed as php? answer the question
Code in .htaccess add the line AddHandler application/x-httpd-php .htm .html
AddHandler application/x-httpd-php5 .htm .html
(depends on server settings) |
Question: |
thank you for help.but now a new problem instead of execute php files by clicking on the link, the browser shakes, filato too, as it has to be done in htacess?here is an example ssylki:http://luxray.com.ua/zakaz.php?kod=%C2%E5%F0%F2%E8%EA%E0%EB%FC%ED%FB%E9%20%F1%EE%EB%FF%F0%E8%E9%20Solar%20Cabin%20180%20V50%20X-treme%20Evolution |
Answer: |
utochnyat you prescribed to .htaccess |
Question: |
AddHandler application/x-httpd-php5 .htm .html |
Answer: |
Add and php AddHandler application/x-httpd-php5 .htm .html .php |
Question: |
thank you, it worked |
Answer: |
ok
|