php page shows HTTP Error 403 - Forbidden error

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
sm
Forum Newbie
Posts: 1
Joined: Mon May 15, 2006 6:38 am

php page shows HTTP Error 403 - Forbidden error

Post by sm »

Hi

My php page shows a "You are not authorized to view this page" error.The problem is because the url for this page has single quotes in it.I'm not sure if any change has to be done in the configuration file as the same link works fine in a different server with the same environment.
Can somebody help in this.

Thanks
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I'm not so sure you would want single quotes being able to be passed via the query string. That just seems remarkable dangerous as far as security is concerned.
Post Reply