Skip to content

Tag: url-parsing

How can I get parameters from a URL string?

I have an HTML form field $_POST[“url”], having some URL strings as the value. Example values are: https://example.com/test/1234?email=xyz@test.com https://example.com/test/1234?basic=2&email=xyz2@test.com https://example.com/test/1234?email=xyz3@test.com https://example.com/test/1234?email=xy…