我有一個HTML表單字段$_POST["url"]
有一些URL字符串作爲值。 示例值包括:如何從URL字符串中獲取參數?
https://example.com/test/[email protected] https://example.com/test/[email protected] https://example.com/test/[email protected] https://example.com/test/[email protected]&testin=123 https://example.com/test/the-page-here/[email protected]
等
如何我可以從這些URL /值只得到email
參數?
請注意,我沒有從瀏覽器地址欄獲取這些字符串。
我有點困惑,請詳細說明Q ... – 2012-07-14 03:30:41
請看編輯 – Autolycus 2012-07-14 03:33:01
你是在說/要求URL被視爲字符串? – hjpotter92 2012-07-14 03:39:29