Answer the question
In order to leave comments, you need to log in
What is the regular expression in PHP for URLs including get parameters?
Example 1: http(s)://site.ru?get=1
Example 2: http(s)://сайт.рф?get=1
Different sites will be processed through this regular expression and there may be more get parameters
Answer the question
In order to leave comments, you need to log in
None.
Parse the url via parse_url .
If you need query parameters, then put them in parse_str .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question