私は次のURLを持っています:
http://example.com/directory/proc.php?email=a@b.com&link=http://example.org
「リンク」変数の値には常に http:// または https:// が含まれているため、URL から削除したいと考えています。
だから私は次のようになります:
http://example.com/directory/proc.php?email=a@b.com&link=example.org
私は次のURLを持っています:
http://example.com/directory/proc.php?email=a@b.com&link=http://example.org
「リンク」変数の値には常に http:// または https:// が含まれているため、URL から削除したいと考えています。
だから私は次のようになります:
http://example.com/directory/proc.php?email=a@b.com&link=example.org