$_SERVER['PHP_SELF'] problem

I have a code built in, which is in my localhost and connects to an external database. I have set my connections right, and when I try to login via the page, after pressing submit, my url changes to
localhost/<? echo $_SERVER['PHP_SELF']; ?>?action=validate

And I get this displayed.

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.

where validate is for validating. Any help?

Can you post your code please

Sponsor our Newsletter | Privacy Policy | Terms of Service