ERROR! Forbidden

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Goofan
Forum Contributor
Posts: 305
Joined: Wed Nov 04, 2009 2:11 pm
Location: Sweden

ERROR! Forbidden

Post by Goofan »

my error message looks liike this:
I dont know what it mean...
:::::::::::::::::
Forbidden

You don't have permission to access /www/Projektarbete/sidor/Infanteries.php< on this server.
:::::::::::::::::
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Post by Jonah Bron »

It means there are some file permission problems. Are you trying to access a file outside of your DocumentRoot?
User avatar
Goofan
Forum Contributor
Posts: 305
Joined: Wed Nov 04, 2009 2:11 pm
Location: Sweden

Re: ERROR! Forbidden

Post by Goofan »

this is all within my local! nothing on the webb and well i just changed it abit nothing out of the ordinary and then it got the message...
User avatar
Goofan
Forum Contributor
Posts: 305
Joined: Wed Nov 04, 2009 2:11 pm
Location: Sweden

Re: ERROR! Forbidden

Post by Goofan »

found the problem:

it was within my code:

Code: Select all

 
 <a href="sidor/infanteries.php<?php=$row['saved_id']?>" target="main">infanteries</a>
 
the code within the php tags madwe the error
Post Reply