Hi,
Yes sure you can do that. It does depent what you want ti use it for.
In your example domain.com/?var4=4 taht would bean that the variable $var4 would be made avialable in your php app.
You can use it to display data from the query-string like this
--- file.php?name=Elfyn McBratney
<?php
$echo_var = $var4;
echo "Hello My Name Is" . $echo_var . ".";
?>
and the outcome would be...
Hello My Name Is Elfyn McBratney
I think that should help,
Elfyn