how can i.....?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

how can i.....?

Post 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"
Last edited by gaogier on Sat May 21, 2005 8:07 am, edited 2 times in total.
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post 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.
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

will that work...ps i edited my first post....hope its clearer
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

anyone know?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

To make those calculators, you first need to know the algorithm. Do you know it?
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

algorithm whats that?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

the formula
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

Post by phpScott »

the maths used to calculate the score.
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

i know it as i know how to make the basic text calcs
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post 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?
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

how do get info from a site buy typing in a username
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

how do you make calcs like these?

http://www.icefuzion.net/ss.php
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

plz help me
User avatar
Skara
Forum Regular
Posts: 703
Joined: Sat Mar 12, 2005 7:13 pm
Location: US

Post 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. -_-'
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

Post 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.
Post Reply