Php 我使用xampp在服务器上获取错误消息

Php 我使用xampp在服务器上获取错误消息,php,xampp,Php,Xampp,我用xampp收到这个错误消息,我不知道是代码还是我需要用Windows7在xampp Im中配置一些东西 它通常是有效的,但由于某种原因,我认为它会崩溃 Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server. 这是我的php代码 <?php if (isset($_GET(

我用xampp收到这个错误消息,我不知道是代码还是我需要用Windows7在xampp Im中配置一些东西 它通常是有效的,但由于某种原因,我认为它会崩溃

Access forbidden!

You don't have permission to access the requested object. It is either read-protected or not readable by the server.
这是我的php代码

<?php
if (isset($_GET('day'))){

};
//echo $_get('day');

$text = 'Hello World.'
?>
<!DOCTYPE html>
<html>
<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>



<form action="index.php" method="GET"> 
day:<input type="text" name="day"value=""><br />
date:<input type="text" name="date"value=""><br />
name:<input type="text" name="name"value=""><br />
email:<input type="text" name="email"value=""><br />
<input type="submit"value = "submit">
</form >
</body>
</html>

我知道以前有人问过这个问题,但我找不到一个有用的答案

那就是你的Web服务器说你或它不允许访问你的脚本文件。@MarcB任何解决方案至少看什么方向检查php文件的文件权限,如果Apache无法读取,则无法提供服务。IIR xampp正在下运行httpd服务。您的脚本目录/文件的文件权限必须授予此帐户的读取权限。我的php xampp仅在我在_get请求中添加时起作用,但它不起作用