Script moved to host and is no longer working.

So, this script worked fine on my local machine when i was testing it. I just moved it over to a host and now my login is no longer working… Can anyone help? Thanks.

Warning: Cannot modify header information - headers already sent by (output started at /home/csgobett/public_html/index.php:2) in /home/csgobett/public_html/steamauth/steamauth.php on line 24

Line 21 through 28 of steamauth.php

if(!$openid->mode) {
if(isset($_GET[‘login’])) {
$openid->identity = ‘http://steamcommunity.com/openid’;
header('Location: ’ . $openid->authUrl());
}

return "<form action=\"?login\" method=\"post\"> <input type=\"image\" src=\"http://cdn.steamcommunity.com/public/images/signinthroughsteam/sits_".$button.".png\"></form>";
}

Any help is much appreciated!

Hiw does index.php look? It says output started there in line 2

Sponsor our Newsletter | Privacy Policy | Terms of Service