Home arrow PHP arrow Page 6 - Watching The Web

Closing Time - PHP

Ever wondered if you could be emailed automatically whenever yourfavorite Web pages changed? Our intrepid developer didn't just wonder -he sat down and wrote some code to make it happen. Here's his story.

TABLE OF CONTENTS:
  1. Watching The Web
  2. Code Poet
  3. Digging Deep
  4. Backtracking
  5. Plan B
  6. Closing Time
By: The Disenchanted Developer, (c) Melonfire
Rating: starstarstarstarstar / 7
October 23, 2002

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
And that's about it. I set up the database for the pretty dark-haired girl, restarted the "cron" daemon on our intranet server, and went back to work. This utility was a pleasant detour from my daily development tasks - I learnt a little bit about HTTP, socket connections, the MD5 algorithm and reading files over HTTP - and I hope you enjoyed reading about it as much as I enjoyed developing it.

In case you'd like to read more about the techniques discussed in this article, here are a few links that I found helpful:

The HTTP 1.1 specification, at ftp://ftp.isi.edu/in-notes/rfc2616.txt

The MD5 Message-Digest Algorithms, at http://www.faqs.org/rfcs/rfc1321.html

The PHP mail() function, at http://www.php.net/manual/en/function.mail.php

The PHP md5() function, at http://www.php.net/manual/en/function.md5.php

Using remote files with PHP, at http://www.php.net/manual/en/features.remote-files.php

Using PHP from the command line, at http://www.php.net/manual/en/features.commandline.php

Until next time...ciao!

Note: Examples are illustrative only, and are not meant for a production or professional services environment. Melonfire provides no warranties or support for the source code described in this article. YMMV!

 
 
>>> More PHP Articles          >>> More By The Disenchanted Developer, (c) Melonfire
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

PHP ARTICLES

- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: