403 Forbidden
Posted by: dargo99 (---.Red-81-44-65.dynamicIP.rima-tde.net)
Date: May 25, 2008 10:35AM

I have been using Wamp Server for some while without problems.

I can access html pages without problem, I can access php pages mainly without problem. No issues with not online or with phpadmin all work fine.

The problem seems to be when I have a php page with javascript on it that calls php-self

This is the page I tried to access

[localhost]['PHP_SELF']%20?%3E

and this is the error message

You don't have permission to access /development/< on this server.

If I put the page up on my webhost it works perfectly BUT I would like to test it locally before I put it on-line.

I suspect that it is something I have / haven't done. Any bright ideas most welcome.

TIA

Colin

Options: ReplyQuote
Re: 403 Forbidden
Posted by: yfastud (Moderator)
Date: May 25, 2008 04:44PM

It seems you missing a variable there since starting = is for asp, not php

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: 403 Forbidden
Posted by: dargo99 (---.Red-81-44-65.dynamicIP.rima-tde.net)
Date: May 25, 2008 05:03PM

Thanks for the thought but then why would it work properly on my webhost server which is running the same versions of PHP and Apache?

Options: ReplyQuote
Re: 403 Forbidden
Posted by: yfastud (Moderator)
Date: May 25, 2008 06:37PM


Options: ReplyQuote
Re: 403 Forbidden
Posted by: dargo99 (---.Red-81-44-65.dynamicIP.rima-tde.net)
Date: May 25, 2008 08:28PM

Sorry I may be being a bit thick but I don't understand what you mean. Could you try explaining it again?

this is what I should have posted as the url

[localhost]['PHP_SELF']%20?%3E?action=new


Thanks

Options: ReplyQuote
Re: 403 Forbidden
Posted by: yfastud (Moderator)
Date: May 26, 2008 12:21AM

You used short tag <? to start your php script and I suggested you to use full tag <?php and please don't tell me you can't even distinguish the different b/w short and full php tag

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: 403 Forbidden
Posted by: dargo99 (---.Red-81-44-65.dynamicIP.rima-tde.net)
Date: May 26, 2008 01:10PM

Thanks for explaining I do know the difference and that one just crept in during my editing to try and get it working. I just didn't understand the brief response. I told you I was being thick ;-).

Thanks again.

Options: ReplyQuote
Re: 403 Forbidden
Posted by: yfastud (Moderator)
Date: May 26, 2008 04:32PM


Options: ReplyQuote


Sorry, only registered users may post in this forum.