i have php page with get 2 parameters $link and $text
i want get $link parameter with all parameters inside it example
test.php?link=www.google.com?test=test&test2=test2&text=testtext
i want get link = ‘www.google.com?test=test&test2=test2’
and get text = testtext
i use this php script
<?php
$text = $_GET['text'];
$link = $_GET['link'];
echo $text;
echo $link;
?>
output
testtext
www.google.com?test=test
You should encode your parameters before using it on GET.
In that way, there is no conflicts between google vars and yours.
See urlencode() manual for details.