我有一个名为 Choice.php 的 php 文件,它应该显示 html 内容。我在linux服务器上运行它。我将权限设置为 700,当我尝试通过 url 访问choice.php 文件时,我得到一个空白页。我似乎无法弄清楚为什么会这样。有什么建议么?
<?php
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n";
echo " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
echo "\n";
echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n";
echo "<head>\n";
echo " <meta http-equiv=\"Content-Type\" content=\n";
echo " \"text/html; charset=us-ascii\" />\n";
echo "\n";
echo " <title>Choose</title>\n";
echo "</head>\n";
echo "\n";
echo "<body>\n";
echo " <form action=\"index.php\" method=\"post\" enctype=\n";
echo " \"application/x-www-form-urlencoded\">\n";
echo " <h1>Choose</h1>\n";
echo "\n";
echo " <p><input type=\"radio\" name=\"Radio\" value=\"1\" /><font size=\"5\"\n";
echo " color=\"#0033CC\">Instant Psychology</font><br />\n";
echo " <br />\n";
echo " <input type=\"radio\" name=\"Radio\" value=\"2\" /><font size=\"5\"\n";
echo " color=\"#CC0000\">Instant Geography</font><br />\n";
echo " <br />\n";
echo " <input type=\"radio\" name=\"Radio\" value=\"3\" /><font size=\"5\"\n";
echo " color=\"#660033\">Instant Gastronomy</font><br />\n";
echo " <br />\n";
echo " <input type=\"submit\" name=\"Submit\" value=\"Go\" /></p>\n";
echo " </form>\n";
echo "</body>\n";
echo "</html>\n";
echo "\n";
?>