我有一个 HTML 表单字段$_POST["url"]
,有一些 URL 字符串作为值。
示例值为:
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=xyz4@test.com&testin=123 https://example.com/test/the-page-here/1234?someurl=key&email=xyz5@test.com
等等
如何email
仅从这些 URL/值中获取参数?
请注意,我没有从浏览器地址栏中获取这些字符串。