Скажите, почему при вводе имени в поле и нажатии кнопки отослать этого скрипта PHP: <!— Альтернативный синтаксис if-else. —> <?if (isset($_REQUEST['go'])):?> Привет, <?=$_REQUEST['name']?>! <?else:?> <form action="<?=$_SERVER['REQUEST_URI']?>" method=post> Ваше имя: <input type=text name=name><br> <input type=submit name=go value="0тослать!"> <?endif?> получаю Код (Text): Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server. If you think this is a server error, please contact the webmaster. Error 403 localhost 27.11.2010 13:38:47 Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
Ошибка вообще к РНр отношения не имеет - фигня в адресе. Пробуем так: PHP: <!— Альтернативный синтаксис if-else. —> <?if (isset($_REQUEST['go'])):?> Привет, <?=$_REQUEST['name']?>! <?else:?> <form method=post> Ваше имя: <input type=text name=name><br> <input type=submit name=go value="0тослать!"> <?endif?>