Here is some code to get the GET data from the url:
Code:
@query_strings = split('[;&]',$QUERY_STRING);
foreach $tmp (@query_strings) {
???($key,$value) = split(/=/,$tmp);
???$$key = $value;
}
Now for instance, if somebody typed index.cgi?action=test
Then in your script, $action would be set to equal "test".
Understand how that works? And you can seperate multiple variables in the url by putting a & or a ; between them. Like this:
index.cgi?action=test;name=Chris
or
index.cgi?action=test&name=Chris
This will make it so $action is set to "test" and $name is set to "Chris".
Anyway does this help you some?