Take the simplest script, call it testget.php:
<html> <head> <meta charset="UTF-8"> </head> <body> <?php setlocale(LC_ALL, 'ru_RU.UTF-8'); $rowname = "мм"; $formid = 11; echo "<a href=\"delete.php?zname=$rowname&formid=$formid\"> Удалить </a>"; ?> </body> </html> and run from some folder:
http://www.example.com/sp/testget.php
If you select the link, the script "crashes" at http://www.example.com/
If you replace $ rowname with one Russian letter m, then everything works fine and the text is issued
Not found the requested URL /sp/delete.php was not found on this server.
Everything, of course, works fine if $ rowname contains Latin characters and most Russian letters, including spaces, for example, "Type of program". But if you add another m "Type of programs" - everything crashes. I'm at a loss. Please tell me what it is and how to deal with it.
mod_rewriteenabled?RewriteRulepresent? - vp_arth