How to grab the full URL in a plugin?
You're probably looking for something like:

craft()-&gt;request-&gt;getHostInfo().craft()-&gt;request-&gt;getRequestUri();


Which will return the host name with the schema it's using (http:// or https://) as well as any URI after the host including any querystring parameters.