- Joined
- 17 Oct 2002
- Posts
- 7,410
- Location
- Stoke-on-Trent
FAO Sid
This is as far as I have got mate:
http://gamercard.happygamers.co.uk/test.php
It doesn't redirect! but it doesn't return a profile either.
Code:
$referer = "http://us.playstation.com/";
#$url = "http://us.playstation.com/publictrophy/index.htm?onlinename=Thesnipergecko";
$url = "http://us.playstation.com/playstation/psn/profiles/Thesnipergecko";
$ch = curl_init();
curl_setopt($ch, CURLOPT_REFERER, $referer);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$in = curl_exec($ch);
curl_close($ch);
echo $in;
This is as far as I have got mate:
http://gamercard.happygamers.co.uk/test.php
It doesn't redirect! but it doesn't return a profile either.