Well, I've been working on a tracking system for RuneScape. (It's a Java-Based, Browser MMORPG. You gain experience points in 24 separate skills, and they are all logged on a hi scores table.)
Anyways, here's what I've got-
<html> <head> <title>The Test Page</title> <body> <?php // create a new cURL resource $ch = curl_init(); // set URL and other appropriate options curl_setopt($ch, CURLOPT_URL, "http://hiscore.runescape.com/hiscorepersonal.ws?user1=kingduffy_1"); curl_setopt($ch, CURLOPT_HEADER, 0); // grab URL and pass it to the browser curl_exec($ch); // close cURL resource, and free up system resources curl_close($ch); ?> </body> </html>
That takes the the whole webpage, which isn't what I want.
I want to be able to take the following information from each skill: Skill Name, Skill Level, Skill Experiance, and Skill Rank-then put it in a table.
So, I guess the question is: How do I take a particular line from one webpage and post it on another?
Also, how would I set up something that could actually track it? I posted on a different forum, and people just said "cURL and Cron, you idiot!". Not sure what that means.
Any help is greatly appreciated. If you have a question about what I'm asking, please-by all means, ask.