
// 'GET PSN-ID' script ... on http://www.vowunite.com/psnlog.php
$PSLogURL = "https://store.playstation.com/external/index.vm?returnURL=";
$ThisURL = "http://".$_SERVER["HTTP_HOST"].$_SERVER["script_NAME"];
function getpsnid($sessId) {
$url = "https://store.playstation.com/external/index.vm?returnURL=http://www.vowunite.com" . $sessId;
$psnid = file_get_contents($url);
return $psnid;
}
if (isset($_GET['sessionId'])) { echo ("Hi,
" . getpsnid($_GET['sessionId']) . " ..."); }
else { header ("Location: " . $PSLogURL . $ThisURL); }
?>