What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP Coder Needed - Custom Sig?

Pages: (2): « First [ 1 ] 2 » Last »
PHP Coder Needed - Custom Sig?
Author: Message:
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
O.P. PHP Coder Needed - Custom Sig?
See my 2 sigs at the bottom of this post :p?

Anyway to code a php code that can merge them both into a custom signature I can make in Photoshop :p?

I suppose you will fetch the StepMania Data From
http://stepmaniaonline.com/index.php?mod=Stepmani...e&player=sonicsamz

and Xbox 360 from
http://live.xbox.com/en-US/profile/profile.aspx?p...GamerTag=SonicSamZ

If anybody is interested in helping a fellow jew, reply to thread (a) <3.
05-11-2007 10:55 PM
Profile PM Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: PHP Coder Needed - Custom Sig?
You would be able to parse the StepMania data, but not the Xbox 360 as it requires log in.

I will take a look at it tomorrow.
4 8 15 16 23 42
05-11-2007 10:58 PM
Profile E-Mail PM Find Quote Report
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
RE: PHP Coder Needed - Custom Sig?
yup, as per MSN
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
05-11-2007 11:00 PM
Profile PM Web Find Quote Report
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
O.P. RE: PHP Coder Needed - Custom Sig?
quote:
Originally posted by vikke

You would be able to parse the StepMania data, but not the Xbox 360 as it requires log in.

I will take a look at it tomorrow.

http://www.glop.org/gamercard/ < Then how does this site do it :p?

Actually. I got a source code of a site that does it :P.

http://www.liveinsanantonio.net/Xbox_GC_Script.zip
05-11-2007 11:02 PM
Profile PM Find Quote Report
Lou
Veteran Member
*****

Avatar

Posts: 2475
Reputation: 43
– / Male / Flag
Joined: Aug 2004
RE: PHP Coder Needed - Custom Sig?
Working on it: http://www.dotlou.com/stuff/sam_sig/

Edit: This is loads harder than I thought. I'm still working on it though.

Edit2: I'm currently connected to like 3 php irc channels, but everybody seems to be avoiding to help people whose questions involve any kind of thinking, so this could be a while.

The link above currently only outputs the first image :S

This post was edited on 05-12-2007 at 01:07 AM by Lou.
[Image: msghelp.net.png]
The future holds bright things in it\\\'s path, but only time will tell what they are and where they come from.
Messenger Stuff Forums
05-11-2007 11:06 PM
Profile PM Web Find Quote Report
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
O.P. RE: PHP Coder Needed - Custom Sig?
Well dotLou, there is still MeEtc and vikke who can use powers ;o.

lets see what they got :p.
05-12-2007 03:52 AM
Profile PM Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: PHP Coder Needed - Custom Sig?
For Stepmania Online, you can just use the cURL library for PHP. And then do like this:
code:
<?
function getHTML($url) {
   $curl = curl_init();
   
   curl_setopt($curl, CURLOPT_URL, $url);
   curl_setopt($curl, CURLOPT_HEADER, 0);
   curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
   curl_setopt($curl, CURLOPT_TIMEOUT,120);
   $HTML = curl_exec($curl);
   curl_close($curlHandle);
   return $HTML;
  }
$HTML = getHTML(”http://stepmaniaonline.com/index.php?mod=Stepmania+Online&player=sonicsamz”);
// Parse the HTML here.
?>

To get rank, search for "<FONT SIZE=+2><B>Rank " and then read until "</B>" appears.
To get last game name search for "<I><FONT SIZE=+3>" and read until "</FONT>".

Edit: Fixed code.

This post was edited on 05-12-2007 at 10:56 AM by vikke.
4 8 15 16 23 42
05-12-2007 08:51 AM
Profile E-Mail PM Find Quote Report
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
RE: PHP Coder Needed - Custom Sig?
quote:
Originally posted by vikke
code:
getURL(”http://stepmaniaonline.com/index.php?mod=Stepmania+Online&player=sonicsamz”);


should be
code:
getHTML(”http://stepmaniaonline.com/index.php?mod=Stepmania+Online&player=sonicsamz”);

:)
[Image: sig.png]
05-12-2007 10:54 AM
Profile PM Web Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: RE: PHP Coder Needed - Custom Sig?
quote:
Originally posted by hmaster
quote:
Originally posted by vikke
code:
getURL(”http://stepmaniaonline.com/index.php?mod=Stepmania+Online&player=sonicsamz”);


should be
code:
getHTML(”http://stepmaniaonline.com/index.php?mod=Stepmania+Online&player=sonicsamz”);

:)


Yeah. I wrote that very fast.

Thanks.
4 8 15 16 23 42
05-12-2007 10:56 AM
Profile E-Mail PM Find Quote Report
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
RE: PHP Coder Needed - Custom Sig?
quote:
Originally posted by vikke
Yeah. I wrote that very fast.

Thanks.

code:
curl_close($curlHandle);

should be

code:
curl_close($curl);

:)
[Image: sig.png]
05-12-2007 11:27 AM
Profile PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On