|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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. /Gash |
|
#3
|
|||
|
|||
|
Thanks! I'll do a bit of reading then tell you how it goes...if it goes. URL
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > Can you make a "spider" type script with PHP? read more.... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|