Jump to content

Access forbidden problem


tanvirtonu

Recommended Posts

I just wan to write a simple programme which refresh the current page.But I get the following error message-

"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

10/17/07 19:38:49

Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.3 "

 

I wrote the code using DreamWeaver Web Editor.My code is as follows-

 

php:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<title>REFRESHING Page</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

 

<body>

 

<form action="<?php echo $_SERVER[php_SELF]    ?>" method="POST">

 

  <p>    <strong>Type ur guess here</strong> <input type="text" name="guess"> </p>

  <p>    <input type="submit" name="Submit" value="Submit ur guess">  </p>

 

</form>

</body>

</html>

 

 

 

 

 

PLs tell me what to do. I hav already run several other pages well.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.