Jump to content

Archived

This topic is now archived and is closed to further replies.

Sydok

Need HELP with a creating a script

Recommended Posts

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 see
if they can connect to the port but i want this to be able to see if anything
is actually coming up.

Thank you in Advance

Ron

Share this post


Link to post
Share on other sites
When a page hits the site it will be a hit ok.

look into rss ok.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.