Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janhancic/simplepagecheck
Simple PHP class to check web pages if they contain certain strings
https://github.com/janhancic/simplepagecheck
Last synced: 22 days ago
JSON representation
Simple PHP class to check web pages if they contain certain strings
- Host: GitHub
- URL: https://github.com/janhancic/simplepagecheck
- Owner: janhancic
- License: mit
- Created: 2010-10-23T15:18:14.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2013-10-04T08:45:28.000Z (about 11 years ago)
- Last Synced: 2024-04-14T19:15:48.147Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 105 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.MD
Awesome Lists containing this project
README
# SimplePageCheck
## What is it?
A simple PHP class that you can use to check web pages if they contain certain strings.## Why?
I often build a "debug" sub-page on my projects that list various things about the state of the web page (memcache keys, memory usage, ...). And it got boring to check the page every now and then by hand to see if everything is OK. So I've built this class that does the work for me (I just put it into a cron job). One of my usage examples is: I output some contents of a memcache key on my debug script, if one string is not present something is wrong, and this is where this class comes in.## How to use it?
See [example.php](https://github.com/janhancic/simplepagecheck/blob/master/example.php) for usage. It's really simple.## License
Licensed under MIT. See [LICENSE.md](https://github.com/janhancic/simplepagecheck/blob/master/LICENSE.MD) file for details.