PDA

View Full Version : Grabbing the source?


MrApples
03-06-2008, 09:41 PM
I'd like to have a script that could take a url, and go grab the page source and store it into a MySQL database. Anyone happen to know a script that would do this? I've tried like 6 off of Google so far and they were all crap.

No I am not out to steal content, thats overplayed anyway.

Dismounted
03-07-2008, 05:12 AM
What are you trying to do with this?

MrApples
03-08-2008, 03:41 AM
Determine 'keywords'.

MrApples
03-15-2008, 06:45 PM
Could anyone help me out? A really simple spider script is all I'm looking for, to give me an idea of how it's done. Really just a automated visit webpage, copy/paste source, hopefully saving onto a mySQL but not needed.

Opserty
03-15-2008, 11:14 PM
Hmm not sure exactly what you want but try: file() (http://uk3.php.net/manual/en/function.file.php)