Question:

Getting data from 1 web page to another? Php?

by  |  earlier

0 LIKES UnLike

Ok, so i would like to get the information from a website such as

http://www.applebot.gopzap.com/cmb.php?nick=Zezima

and get the 07Combat:14 137.3507 P2P14 126.1 part, and output it as Combat: 137.35 P2P 126.1 F2P.

How would I go about doing that?

Thanks,

~Tuz501

 Tags:

   Report

5 ANSWERS


  1. Check:

    http://www.widgetshow.com/?p=117


  2. hard to explain . sorry

  3. Hey,

    I thought this was going to be a question about passing information from one page to another.  Glad to see it's not, haha.

    Look into using file_get_contents using php.  What you can do is run the website through that function and it will give you a string with whatever is on the screen.  I have been trying to post the code for you, but surprise surprise Yahoo Answers is "taking a breather".

    <?php

    $thestring = file_get_contents("http://example.com");

    echo $thestring;

    ?>

    Hopefully the code above will show up, and then you just change example.com with the website you posted.

    take care,

    Chad

  4. say what?

  5. Pull up a word processor or what ever you use. Got to the site, highlight it. Ctrl+C, go back to the word processor Ctrl+V and it will put it in.

Question Stats

Latest activity: earlier.
This question has 5 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.