Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

userInfo.php not loading correctly? #187

Open
midcoreboot opened this issue Sep 26, 2017 · 3 comments
Open

userInfo.php not loading correctly? #187

midcoreboot opened this issue Sep 26, 2017 · 3 comments

Comments

@midcoreboot
Copy link

In my code i got the login to work fine. But when i tried to get the username of the logged in user or just simply their avatar. nothing seems to work. I've tried multiple things. Would be awesome if you had any input on my issue!

code:
`<?

require 'steamauth/steamauth.php';
require 'steamauth/userInfo.php';

if(isset($_SESSION['steamid']))
{
	$id = $_SESSION['steamid'];
} else {
	
}

?>

`

picture of my directory:
https://gyazo.com/f4b1958dbffd063f8521ba37a5a3aee4

@RedSparr0w
Copy link
Contributor

Based on your menu containing 'coinflip' i assume this is probably a gambling site?
By downloading this library you agree that you will not use it for any gambling or illegal activity.

Also have you tried using the demo.php/example.php file?

@midcoreboot
Copy link
Author

I am not making a gambling site no, i'm really quite shit at coding and is just making a script for me and my friends. And yes. I've tried doing it with the example. still doesn't work, that leads me to believe there's something wrong with the auth or the userInfo.php file. Maybe i caught a bad file?

@midcoreboot
Copy link
Author

Bump:
I think i might be having a block somewhere on the server side of my hosting company? Can this be true?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants