PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 12th, 1999, 12:25 PM
`tantrum
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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?

Reply With Quote
  #2  
Old July 15th, 1999, 02:17 PM
gash
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
  #3  
Old July 16th, 1999, 12:52 AM
`tantrum
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Thanks! I'll do a bit of reading then tell you how it goes...if it goes. URL

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > Can you make a "spider" type script with PHP? read more....


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT