Jabop Posted April 29, 2008 Share Posted April 29, 2008 Here is my problem: I am passing the url below through a script for processing. http://localhost/test.php%3Fid%3Dfileidgoeshere When I go to the url with the urlencoding enabled, I get this error: Forbidden You don't have permission to access /test.php?id=fileidgoeshere on this server. However, when I go directly to http://localhost/test.php?id=fileidgoeshere, I get the result that I want. Thing is, I need to have the original link to this script encoded, but my server is denying its view like that. How would I enable the server to decode those encoded urls into their actual url? I have been searching all night for the resolution to this problem, but with no luck. Any help would be greatly appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/103369-apache-or-htaccess-url-decode/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.