Тем, кто ещё не уверен в закрывающем теге ?>, выдержка из официального мануала:
«The closing tag of a PHP block at the end of a file is optional, and in some cases omitting it is helpful when using include() or require(), so unwanted whitespace will not occur at the end of files, and you will still be able to add headers to the response later. It is also handy if you use output buffering, and would not like to see added unwanted whitespace at the end of the parts generated by the included files.»
Server: Apache
Allow: GET, HEAD, OPTIONS, TRACE
в настройках Apache не разрешен метод POST (для /\.html?$/ страниц, наверное).
Проверь.
И рядом контекстная реклама Durex :-)
«The closing tag of a PHP block at the end of a file is optional, and in some cases omitting it is helpful when using include() or require(), so unwanted whitespace will not occur at the end of files, and you will still be able to add headers to the response later. It is also handy if you use output buffering, and would not like to see added unwanted whitespace at the end of the parts generated by the included files.»
http://www.php.net/manual/en/language.ba…
b ? a-b : a+b(b > 0) ? (a + b) : (a - b)
потому что -n == true (если n != 0)