how can I pass GET url which contains character "?" to php file.
for example I have url:
http://www.mysite.com/file1.php?string=file2.php?a1=1&a2=2&a3=3

I want to pass all string "file2.php?a1=1&a2=2&a3=3" into file1.php
now on file1.php, if I use
$v=$_REQUEST;
echo "$v";

I only get
file2.php?a1=1

it lost rest "a2=2&a3=3"

how can I fix this issue?

Any idea?

$_SERVER['QUERY_STRING']

That's the short answer

See all your variable in get request like-

echo '<pre>';
print_r($_get);
echo '</pre>';

This will print the $_get variable.
You can access each var by its name like index of the array for ex.
$p1 = $_get;
$p2 = $_get;

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.