July 12th, 1999, 12:25 PM
Hi, I'm a newbie to php coding and i would really like to know if and how the following can be done...
Just say...your site is devshed.com and u have a search which looks through a certain database (the search throught the database is no problem).
But...you want the database to be automatically updated with information from an external site...For example, nightly, an online script/program checks microsoft.com/index.html for all blue links of font size +2 and adds them to the database.
Can this be done and if so could someone point me in the right direction?
July 15th, 1999, 02:17 PM
Try reading up on your fopen(); function.
In this case you could use it to:
$filepointer = fopen("http://www.microsoft.com/", "r");
setting the filepointer to the beginning of the returned file using "read only". Now all you have to do is search for your desired string.
Try and experiment with it and tell me how it works out.
July 16th, 1999, 12:52 AM
Thanks! I'll do a bit of reading then tell you how it goes...if it goes.