How to get full URL without sorting query parameters
use url parse to get the parts
$parts = parse_url(' http://mywebsite.com/tvbet/response?action=balance&refId=0&accountId=1&gameId=100138&clientType=desktop¤cy=TRY&isBonus=False&username=Yonetim&hash=iobVJKHFhhgjvfcVJHIKVGYFG');
dd($parts['query']):
Yes, I am doing that. My problem is that url()->full(); is sorting the parameters yet I want the query part to be as it is without being sorted
Ok try this then
$query = $_SERVER['QUERY_STRING'];
Please or to participate in this conversation.