I'm pretty new to Craft and PHP, and I am needing to design a page in Craft (powered by a plugin) which will pass a variable in a querystring (or equivalent in Craft) to the PHP code in the plugin.
In my case, it would be a username (e.g. jsmith) to pass to the plugin PHP code, which would query an XML file for a node having 'jsmith' as the username value.
My first question is - in Craft, can I use a querystring like:
?username=jsmith
or would I need to use something more Craft-specific?
My second question is - can Craft (Twig template) pass to the PHP plugin by including the PHP file (service)?
Thanks for your help in this