Sydok Posted August 16, 2006 Share Posted August 16, 2006 Hi, I'm trying to write a script that will access a website and look for specific text on the site using PHP, is this possible using http and also have it not regisiter as hit on their stats page. I'm trying to create this script for a Server Monitor, I've seen scripts out there that all they do is check to seeif they can connect to the port but i want this to be able to see if anythingis actually coming up.Thank you in AdvanceRon Quote Link to comment Share on other sites More sharing options...
redarrow Posted August 16, 2006 Share Posted August 16, 2006 When a page hits the site it will be a hit ok.look into rss ok. Quote Link to comment Share on other sites More sharing options...
Jenk Posted August 16, 2006 Share Posted August 16, 2006 You could use PHP to execute a ping request or similar, and you could even script it to SSH to the box to verify the webserver is running, but over HTTP you will not be able to request the page without it registering a hit - UNLESS the 'hit scoring' system has an exceptions list and you can add a domain/ip/mac-address/login/authentication/etc. clause. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.