Skip to content

mhajder/SteamLoginPHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Image 1

Login (2)

loginbutton(2);

Login Image 1

Login (3)

loginbutton(3);

Login Image 1

Login (4)

loginbutton(4);

Login Image 1

Login (5)

loginbutton(5);

Login Image 1

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'];