Jump to content

Recommended Posts

Posted

Is it possible to make a PHP script that enables the user to acquire information from a given website, like values inside a table and save it in a text file?


Posted

I don't know of any tutorials; I was just brainstorming a bit and kinda-sorta thought of a possibility. I haven't tried it, though, and haven't come up with any real code to back it.

  • 1 month later...
Posted (edited)

just like WBHoenig said, it's possible..

u can get the content of the site with

<? $f=file('http://google.com/'); for ($i=0; $i<count($f); $i++) $content.=$f[$i]; ?>

then u just need some regular expressions and stuff like that to get the info from the tables.. i've done a similar thing for a torrent tracker system which gets each torrent's hash, uploader, size, name, category by having access to the html code only.. it's not impossible..

Edited by dAbReAkA

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...