I'm developing my first Wordpress plugin, and I have one line which deletes an entry. I have to use query string parameters to pass in the action and the object id. My code is:

```
$pageText .= '<td><a href="'.$_SERVER['REQUEST_URI'].'?useraction=delete&domainid='.$file.'">Delete</a></td></tr>';

```

This creates a 'delete' link and populates the two parameters. Problem is, Wordpress gives me a "You do not have sufficient permissions to access this page." for passing in a variable in the query string.

Does anyone know how to properly pass variables in a plugin?