Replaces the old shell scripts with a php equivalent. Still however does not address the old issues the shell version had such as the unchangeable date ranges
To work ../logindetails.sh will need to be replaced with ../logindetails.php which set $USERNAME and $PASSWORD as required.
php dependencies: cUrl, DOM, simpleXML & JSON (all should exist with a default install)