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
Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3
I have a script calendar that you have to login to add events to the calendar. When I click on login the popup shows I enter the user and password but get that error.
here is the function code for the login button
- Code: Select all
function footprint($auth, $m, $y)
{
global $lang;
echo "
<br><span class=\"footprint\">\n[ ";
if ( $auth == 2 ) {
echo "
<a href=\"useradmin.php\">" . $lang['adminlnk'] . "</a> |
<a href=\"login.php?action=logout&month=$m&year=$y\">"
. $lang['logout'] . "</a>";
} elseif ( $auth == 1 ) {
echo "
<a href=\"useradmin.php?flag=changepw\">" . $lang['changepw'] . "</a> |
<a href=\"login.php?action=logout&month=$m&year=$y\">"
. $lang['logout'] . " </a>";
} else {
echo "<a href=\"javascript:loginPop($m, $y)\">"
. $lang['login'] . "</a>";
}
echo " ]</span>";
I'm guess I have to set some type of permissions but am new to XAMPP. Any help would be great. I use XAMPP or testing purpose's to make sure everything works right before putting online.
Thanks
Kevin