0 && $state === $_GET['state'])) { throw new Exception("Invalid state"); } if(empty($_GET['token'])) { throw new Exception("Invalid Token"); } $_SESSION['spaceweather'] = $_GET['token']; } if (empty($_SESSION['spaceweather'])) { $_SESSION['state'] = $state = rand(); $query = http_build_query([ 'redirect_uri' => 'http://66.37.155.227/hasdm_ous/Hasdm_database/', 'state' => $state, 'wuid' => '39efbda4-0546-416f-8062-cce4d44eae76' ]); header('Location:http://login.spacenvironment.net/space-login?'.$query); exit; } function http($url, $data) { $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); $response = curl_exec($ch); curl_close($ch); return $response; } ?> HASDM Database

SET HASDM Density Database

* All Fields Required

All ranges for longitude are given as default. To access the density files click on the link, HASDM density file will be go to your computers downloads folder