Page 1 of 2
how can i.....?
Posted: Sat May 21, 2005 7:44 am
by gaogier
how can i extract information from another site and put it onto an image everyso often?
eg:
http://runescape.com then click on highscores and search for the username of "gaogier"
the same info is there on an image but how
image location:
http://www.icefuzion.com/addon.php?user=gaogier
i would also like to know how to make these calcs
http://www.rsbandb.com/index.php?page=calc
plz use my runescape username "gaogier"
Posted: Sat May 21, 2005 7:55 am
by infolock
One example is :
Code: Select all
$foo = file("http://www.somesite.com");
There are other methods, as well as explanations for the file() function on
PHP.net's Online Manual. Hope this helps.
Posted: Sat May 21, 2005 8:05 am
by gaogier
will that work...ps i edited my first post....hope its clearer
Posted: Sun May 22, 2005 5:14 am
by gaogier
anyone know?
Posted: Sun May 22, 2005 3:26 pm
by Ambush Commander
To make those calculators, you first need to know the algorithm. Do you know it?
Posted: Sun May 22, 2005 4:29 pm
by gaogier
algorithm whats that?
Posted: Sun May 22, 2005 4:31 pm
by John Cartwright
the formula
Posted: Mon May 23, 2005 3:26 am
by phpScott
the maths used to calculate the score.
Posted: Mon May 23, 2005 4:01 am
by gaogier
i know it as i know how to make the basic text calcs
Posted: Mon May 23, 2005 2:22 pm
by Ambush Commander
Care to post it? If it's not difficult, then all you may end up using are your basic PHP operators. What exactly do you not know how to do?
Posted: Tue May 24, 2005 12:35 pm
by gaogier
how do get info from a site buy typing in a username
Posted: Tue May 24, 2005 2:29 pm
by gaogier
how do you make calcs like these?
http://www.icefuzion.net/ss.php
Posted: Wed May 25, 2005 11:33 am
by gaogier
plz help me
Posted: Wed May 25, 2005 12:12 pm
by Skara
Your question was answered here:
To make those calculators, you first need to know the algorithm. Do you know it?
How the values are calculated has nothing to do with php. Once you know how to calcluate them,
then you can code it. -_-'
Posted: Wed May 25, 2005 1:05 pm
by phpScott
you can only get what they want to show you.(without hacking the site of course).
That page is set up as a flach file so there is no easy way to get those calculations with out asking them nicely.