Jump to content

Passing %20 (space) and other chars to an URL - PHP4 v PHP5


lxndr

Recommended Posts

A php script which has been running for some years has suddenly started generating a Forbidden 403 error and this seems to coincide with the host upgrading from php4 to php5.  A number of items are passed in the URL including spaces represented as %20 and I think single quotation mark represented as %27 ... I suspect these may be responsible for the error.  Can anyone confirm that's likely to be the case and suggest the best way to deal with it?

 

TIA.

 

 

I really am not sure but I didn't some research and this article/blog came up.  ModWest 403

 

Seems like it could be an Apache config or .htaccess problem...

 

I can access the script on it's own, that doesn't give a 403, it's when I call it and pass parameters in the URL that the Forbidden message crops up ...

 

Having said that it is likely to be related to Apache rather than php isn't it .. I'll raise a support ticket and ask the host provider ...

 

__

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.