SteamLoginPHP
Steam Login PHP
Install / Use
/learn @mhajder/SteamLoginPHPREADME
SteamLoginPHP
Steam Login PHP
Instalation
Edit: Config.php
$steamlogin['apikey'] = "API_KEY_HERE"; // Your Steam WebAPI-Key found at http://steamcommunity.com/dev/apikey
$steamlogin['domainname'] = "domain.local"; // The main URL of your website displayed in the login page
$steamlogin['logoutpage'] = "index.php"; // Page to redirect to after a successfull logout (from the directory the SteamAuth-folder is located in) - NO slash at the beginning!
$steamlogin['loginpage'] = "index.php"; // Page to redirect to after a successfull login (from the directory the SteamAuth-folder is located in) - NO slash at the beginning!
Login Button
Login (1)
loginbutton(1);

Login (2)
loginbutton(2);

Login (3)
loginbutton(3);

Login (4)
loginbutton(4);

Login (5)
loginbutton(5);

Logout Button
logoutbutton();
Get informations
SteamID
$steamprofile['steamid'];
CommunityVisibilityState
$steamprofile['communityvisibilitystate'];
Profilestate
$steamprofile['profilestate'];
Personaname
$steamprofile['personaname'];
Last logoff
$steamprofile['lastlogoff'];
profileURL
$steamprofile['profileurl'];
profileURL PERM
$steamprofile['profileurlperm'];
Avatar
$steamprofile['avatar'];
Medium Avatar
$steamprofile['avatarmedium'];
Full Avatar
$steamprofile['avatarfull'];
Personastate
$steamprofile['personastate'];
Realname
$steamprofile['profileurl'];
Primary Clan ID
$steamprofile['primaryclanid'];
Time created
$steamprofile['timecreated'];
Uptodate
$steamprofile['uptodate'];
Country
$steamprofile['loccountrycode'];
State
$steamprofile['locstatecode'];
City
$steamprofile['loccityid'];
