When I generate the link, I append the variables to the end of the URL after a delimiter of some kind. (I use 2 backticks) Then I pull the URL on the following page, and get out that information. Here is what your hyperlink would look like
mysite/cat_page.php/``cat=1&col=1
At the beginning of the following page's code:
$vars = get_url_vars(); //my function
parse_str($vars); //php function
....................
then you can access $cat and $col in the code.
here is my declared function
function get_url_vars()
{
$temp_url = $_SERVER['PHP_SELF'];
$rip = explode('``',$temp_url);
return $rip[1];
}
It may not be the best way to do it, and certainly not the only way...but when I was there, this is how I solved the problem. (I also put in a check for control characters in the variables on each page...but I couldn't get any through anyway when I was testing)