I am trying to implement some php on an Apache 2+ Server which I do not have root access of. One script has to receive variables in a URL, but the API, that sends me the data, generates a URL-String with a #
character in it.
The URL in Question would look like this:
http://website.name.com/script.php#foo=1&bar=2
Is there any way for the foo
and bar
variables to reach the script.php
? I've read in other answers that everything after #
doesn't get parsed by the server, so I tried to use an .htaccess
file with a RewriteRule
to replace the hashtag, but I was unable to create a working RegEx command.