$linkと$textの2つのパラメーターを取得するphpページがあります。例内のすべてのパラメーターを含む$linkパラメーターを取得します。
test.php?link = www.google.com?test = test&test2 = test2&text = testtext
リンクを取得したい='www.google.com?test = test&test2=test2'そしてテキストを取得したい=testtext
私はこのphpスクリプトを使用します
<?php
$text = $_GET['text'];
$link = $_GET['link'];
echo $text;
echo $link;
?>
output
testtext
www.google.com?test=test