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!
We have a client that wishes to transmit data to us via a URL. The problem is the string may contain the pound sign(#). As expected, all data following this is blocked in our PHP script. I've tried cleaning up the URL before grabbing the variables with preg_replace and str_replace on the query as $_SERVER['QUERY_STRING'], but no luck. Is there a way to clean up the incoming URL -- remove the "#" -- and grab all the variables?