<?php
$parts = parse_url($url);
parse_str($parts['query'], $query);
echo 'Value is: ' . $query['auth'];
//the echo is just for debugging
?>
$parts = parse_url($url);
parse_str($parts['query'], $query);
return ($query['auth'] == '1');
return JFactory::getApplication()->input->get('auth') === '1';
return $app->input->get('auth') === '1';